aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ObjCopy/(developers-only)
diff options
context:
space:
mode:
authorDevin Teske <dteske@FreeBSD.org>2026-08-25 20:46:32 +0000
committerDevin Teske <dteske@FreeBSD.org>2026-08-25 20:46:32 +0000
commitf86c3e6de4795cb8b44d104635eb39e1f63209b4 (patch)
tree46a149dba9b8d19a543de91f0b0f90f6521aa523 /llvm/lib/ObjCopy/(developers-only)
parent90ed365277fb9c263bed62ab466ab171e36c3586 (diff)
git-arc: Handle -h on subcommands and align usage with the man pageHEADmain
git-sh-setup treats -h as help against an empty USAGE, so "git arc create -h" prints "usage: git arc". Handle -h before sourcing it so every subcommand prints the real synopsis. The create, stage, and update synopses showed optional commit-refs while git-arc(1) and the code require them. Advertise -p parent on create; the option was already implemented and documented. Sort create sub-command option-arguments alphabetically in three places: (1) synopsis from tool, (2) man-page synopsis, and (3) man-page description. Check for jq(1) / arc after checking for usage so -h always works. While here, fix missing "local o" in gitarc__stage(). Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D59129
Diffstat (limited to 'llvm/lib/ObjCopy/(developers-only)')
0 files changed, 0 insertions, 0 deletions