Skip to content

Commit

Permalink
Update tool-vendor-plea.adoc
Browse files Browse the repository at this point in the history
  • Loading branch information
hohwille authored Aug 23, 2024
1 parent b1c8936 commit 043d854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/tool-vendor-plea.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ Tools typically can take parameters and options.
Please consider best practices from POSIX, GNU, IEE, and Open Group (e.g. see https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html[here]) from the start.
Most CLIs violate such rules for no good reason.
As an example distinguish between short options (`-h`, `-v`, `-q`, `-f`) that typically can be combined (`-qf` for `-q -f`) and long-options (`--help` or `--version`).
Also a good convention is the end options argument (`--`) that e.g. allows you to delete an accidentally created file named `-f` in bash (via `rm -- -f`).
Also a good convention is the end options argument (`--`) that e.g. allows you to delete an accidentally created file named `-f` in bash (via `rm \-- -f`).

=== Version

Expand Down

0 comments on commit 043d854

Please sign in to comment.