aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-05-22 01:51:33 -0400
committerB. Watson <yalhcru@gmail.com>2018-05-22 01:51:33 -0400
commit3eb01c5be66e12f9386e6aaaad519ca131e1bc66 (patch)
treed7eed6cf23aa9a1c83dc35c397f590df36524240
parentd663fa5adba0d3a1d7f98d316fea3482e8e4696b (diff)
downloadsbostuff-3eb01c5be66e12f9386e6aaaad519ca131e1bc66.tar.gz
Adding --help broke -c, fix
-rwxr-xr-xsbosrcarch2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbosrcarch b/sbosrcarch
index 47c94b0..e593979 100755
--- a/sbosrcarch
+++ b/sbosrcarch
@@ -1740,7 +1740,7 @@ EOF
#main()
$|++;
-usage() unless (defined $ARGV[0] && $ARGV[0] !~ /^-/);
+usage() unless (defined $ARGV[0] && $ARGV[0] !~ /^-+h(?:elp)?/);
read_config();
for ($ARGV[0]) {
/create/ && do { create_mode(); };