aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-08-22 18:16:09 -0300
committerEuAndreh <eu@euandre.org>2022-08-22 18:16:09 -0300
commit30a05bf9176867bf3a89529301e2926aef2d13ca (patch)
tree766892dc6acfe4b7641e30917d1ce61397038302 /bin
parentetc/ssh/known_hosts: Add entry (diff)
downloaddotfiles-30a05bf9176867bf3a89529301e2926aef2d13ca.tar.gz
dotfiles-30a05bf9176867bf3a89529301e2926aef2d13ca.tar.xz
bin/nato: Add missing handling of -h flag
Diffstat (limited to 'bin')
-rwxr-xr-xbin/nato6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/nato b/bin/nato
index 6ea66b5..75c208e 100755
--- a/bin/nato
+++ b/bin/nato
@@ -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',