cpdup(1): Add '-h' option and sort options in help and code
authorAaron LI <aly@aaronly.me>
Tue, 29 Oct 2019 14:49:41 +0000 (22:49 +0800)
committerAaron LI <aly@aaronly.me>
Tue, 29 Oct 2019 14:49:41 +0000 (22:49 +0800)
commit7651dbc3b90feb35888498b6f866ebd994258a5a
treed2142b46a73cf6fbf6f3a5213408c56ebc306a46
parentbfb6f159461bac61dba97611ac33111accea3a9d
cpdup(1): Add '-h' option and sort options in help and code

* Add the '-h' option to show the help text
* Sort options in both code and help text
* Remove the redundant '-p' option from the source file
* The '-n' and '-S' options are missing from the help text, so add them.

See also: https://github.com/DragonFlyBSD/cpdup/commit/d87b2a60a95d0382135609bb17a014c8a0b61031
bin/cpdup/cpdup.c
bin/cpdup/misc.c