diff options
author | EuAndreh <eu@euandre.org> | 2022-08-22 18:16:09 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-08-22 18:16:09 -0300 |
commit | 30a05bf9176867bf3a89529301e2926aef2d13ca (patch) | |
tree | 766892dc6acfe4b7641e30917d1ce61397038302 /bin | |
parent | etc/ssh/known_hosts: Add entry (diff) | |
download | dotfiles-30a05bf9176867bf3a89529301e2926aef2d13ca.tar.gz dotfiles-30a05bf9176867bf3a89529301e2926aef2d13ca.tar.xz |
bin/nato: Add missing handling of -h flag
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/nato | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -49,6 +49,12 @@ if (!Getopt::Std::getopts('h', \%opts)) { exit 2; } +if ($opts{h}) { + usage *STDOUT; + help *STDOUT; + exit; +} + my %DICT = ( 'a' => 'Alfa', 'b' => 'Bravo', |