Open
Description
Good day!
I noticed an inconsistent use of the short argument -t
.
For example, in the ls
command, the short argument -t
is an alias for --type
:
nb ls --help
Usage:
nb ls ...
...
--tags List tags in the notebook or folder.
-t, --type <type>, --<type> List items of <type>. <type> can be a file
extension or one of the following types:
archive, audio, book, bookmark, document,
folder, image, note, text, video
...
However, in the search
command, the short argument -t
is an alias for --tags
:
nb search --help
Usage:
nb search ...
...
-t, --tags List all tags found in the notebook.
--type <type>, --<type> Search items of <type>. <type> can be a file
extension or one of the following types:
note, bookmark, document, archive, image,
video, audio, folder, text
...
Key observations:
- Same short flag
-t
maps to different long arguments:--type
inls
--tags
insearch
- This inconsistency could cause confusion for users switching between commands
Metadata
Metadata
Assignees
Labels
No labels