Skip to content

Commit 0996f60

Browse files
authored
fix(cli): remove duplicate usage (#308)
1 parent 06ab3bb commit 0996f60

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Or to run __gyp-next__ directly without installing it:
2222
* `uvx --from=gyp-next gyp --help`
2323
```
2424
NOTE: running app 'gyp' from 'gyp-next'
25-
usage: usage: gyp [options ...] [build_file ...]
25+
usage: gyp [options ...] [build_file ...]
2626
2727
options:
2828
-h, --help show this help message and exit

pylib/gyp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ def parse_args(self, *args):
345345

346346
def gyp_main(args):
347347
my_name = os.path.basename(sys.argv[0])
348-
usage = "usage: %(prog)s [options ...] [build_file ...]"
348+
usage = "%(prog)s [options ...] [build_file ...]"
349349

350350
parser = RegeneratableOptionParser(usage=usage.replace("%s", "%(prog)s"))
351351
parser.add_argument(

0 commit comments

Comments
 (0)