aognio / teleportation

A command-line utility for managing and quickly navigating to folders using easy-to-remember aliases.
MIT License
0 stars 0 forks source link

Help is not working properly without the --sourced switch #1

Open aognio opened 1 month ago

aognio commented 1 month ago

As seen here:

bug-with-help

The correct output should go like this:

$ tlp2-bin
Usage for storing: --sourced <folder_path> <alias> <absolute_path> [--update] [--sourced]
Usage for recalling: --sourced <folder_path> <alias> [--sourced]
Usage for searching: --sourced <alias> [--sourced]
Usage for listing all aliases: --sourced --list [<partial_folder>] [--sourced]
Usage for deleting: --sourced --delete <folder_path> <alias> [--sourced]
Usage for renaming an alias: --sourced --rename <folder_path> <alias> <new_alias_name> [--sourced]
Usage for renaming a folder: --sourced --rename-folder <old_folder_path> <new_folder_path> [--sourced]
Usage for opening SQLite: --sourced --sqlite
aognio commented 1 month ago

Also a proper --help swith should be added.