projects
/
abcde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f474521
)
Fix getopts setup for "P"
author
Steve McIntyre
<steve@einval.com>
Sun, 4 Mar 2018 21:21:17 +0000
(21:21 +0000)
committer
Steve McIntyre
<steve@einval.com>
Sun, 4 Mar 2018 21:21:17 +0000
(21:21 +0000)
There's no optarg used here. Thanks to Alan W. Kerr for reporting this.
abcde
patch
|
blob
|
history
diff --git
a/abcde
b/abcde
index
9c88127
..
2778b1d
100755
(executable)
--- a/
abcde
+++ b/
abcde
@@
-4079,7
+4079,7
@@
case "$EXTRAVERBOSE" in
esac
# Parse command line options
-while getopts 1a:bBc:C:d:DefgGhj:klLmMnNo:pP
:
Q:r:s:S:t:T:UvVxX:w:W:z opt ; do
+while getopts 1a:bBc:C:d:DefgGhj:klLmMnNo:pPQ:r:s:S:t:T:UvVxX:w:W:z opt ; do
case "$opt" in
1) ONETRACK=y ;;
a) ACTIONS="$OPTARG" ;;