Skip to content

Commit 8fbeecf

Browse files
committed
Fixed #193 - The usage command is now correctly shown
Signed-off-by: Chin Yeung Li <[email protected]>
1 parent 3a44fae commit 8fbeecf

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

about

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ fi
1616

1717
source $ABOUT_ROOT_DIR/bin/activate
1818

19-
$ABOUT_ROOT_DIR/bin/about-code "$@"
19+
$ABOUT_ROOT_DIR/bin/about "$@"

about.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ goto about
2929

3030
:about
3131
call %ABOUT_ROOT_DIR%\Scripts\activate
32-
echo %ABOUT_ROOT_DIR%\bin\about-code %CMD_LINE_ARGS%
33-
%ABOUT_ROOT_DIR%\bin\about-code %CMD_LINE_ARGS%
32+
echo %ABOUT_ROOT_DIR%\bin\about %CMD_LINE_ARGS%
33+
%ABOUT_ROOT_DIR%\bin\about %CMD_LINE_ARGS%
3434

3535
:EOS

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def read(*names, **kwargs):
7979
},
8080
entry_points={
8181
'console_scripts': [
82-
'about-code=attributecode.cmd:cli',
82+
'about=attributecode.cmd:cli',
8383
]
8484
},
8585
)

src/attributecode/cmd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def cli():
9090
9191
Read, write and collect provenance and license inventories from .ABOUT files to and from JSON or CSV files.
9292
93-
Use about-code <command> --help for help on a command.
93+
Use about <command> --help for help on a command.
9494
"""
9595

9696

0 commit comments

Comments
 (0)