-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix print_usage and man page mistakes (#103)
* Fix print_usage mistakes Seems like someone confused tldr-c-client with another client because -v prints out version and you can't even search for a string instead you have to provide a [PAGE] * Fix the manual page as well * Remove redundancy and fix man page URLs * Add a period ad the end of the urls * Fix man page mistakes and update usage * Fix capitalization * Reorder options in a more logical manner * Remove unused variable in deps.sh * remove non-existing options and add other options to man page * Remove obsolete padding code It appears that using %-30s for padding is unnecessary in this context, as %s alone seems to work perfectly without any issues. * Replace "[PAGE]" with "PAGE" to comply with usual conventions * Prevent -v from printing version if no additional arguments are provided print usage instead. * Use literal URLs in the man page to increase compatiability between mandoc and man-db * Comply with padding of 80 colums * Client specification compliant does the opposite of commit 32c7172 * Fix exit codes and more descriptive usage info for --verbose * More valid --verbose description * Revert to old usage, but use the long option instead * Revert to old usage, but use the long option instead man * Revert accidental changes * tldr.1: update manpage * tldr.c: fix EOL * Properly align print_usage * Fix whitespace and argument phrasing --------- Co-authored-by: K.B.Dharun Krishna <[email protected]>
- Loading branch information
Showing
4 changed files
with
57 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters