Skip to content

Commit a617e20

Browse files
committed
[llvm-objdump] Remove Generic Options group from help text output
Reapply 7368624 after revert and fix Looking at other tools using tablegen for help output, general options like --help are not separated from other options. This change removes the "Generic Options" option group so the options are listed together. the macho specific option group is left unaffected. The test help.test was modified to reflect this change. Differential Revision: https://reviews.llvm.org/D101652
1 parent adfffeb commit a617e20

File tree

2 files changed

+88
-175
lines changed

2 files changed

+88
-175
lines changed

llvm/test/tools/llvm-objdump/help.test

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ RUN: llvm-objdump --help-hidden | FileCheck --check-prefix=HIDDEN %s
33

44
CHECK: OVERVIEW: llvm object file dumper
55
CHECK: USAGE: llvm-objdump{{(.exe)?}} [options] <input object files>{{$}}
6-
CHECK: Generic Options:
6+
CHECK: OPTIONS:
77
CHECK-NOT: {{ -w }}
8+
CHECK: llvm-objdump MachO Specific Options:
89
CHECK: @FILE
910

1011
HIDDEN: OVERVIEW: llvm object file dumper
1112
HIDDEN: USAGE: llvm-objdump{{(.exe)?}} [options] <input object files>{{$}}
12-
HIDDEN: Generic Options:
13+
HIDDEN: OPTIONS:
1314
HIDDEN: {{ -w }}
15+
HIDDEN: llvm-objdump MachO Specific Options:
1416
HIDDEN: @FILE

0 commit comments

Comments
 (0)