* [PATCH] getops: make --a-long option work again
@ 2017-05-16 7:37 Sami Kerola
2017-05-16 12:56 ` Karel Zak
0 siblings, 1 reply; 2+ messages in thread
From: Sami Kerola @ 2017-05-16 7:37 UTC (permalink / raw)
To: util-linux; +Cc: Sami Kerola
Add back a character lost in earlier change.
Regression-from: d27f5fe770025e456fbd33b87a96968f34c455ed
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
---
misc-utils/getopt-parse.bash | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/misc-utils/getopt-parse.bash b/misc-utils/getopt-parse.bash
index 348c445a4..db8bf6b59 100644
--- a/misc-utils/getopt-parse.bash
+++ b/misc-utils/getopt-parse.bash
@@ -20,7 +20,7 @@
# Note that we use "$@" to let each command-line parameter expand to a
# separate word. The quotes around "$@" are essential!
# We need TEMP as the 'eval set --' would nuke the return value of getopt.
-TEMP=$(getopt -o 'ab:c::' --long '-long,b-long:,c-long::' -n 'example.bash' -- "$@")
+TEMP=$(getopt -o 'ab:c::' --long 'a-long,b-long:,c-long::' -n 'example.bash' -- "$@")
if [ $? -ne 0 ]; then
echo 'Terminating...' >&2
--
2.13.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] getops: make --a-long option work again
2017-05-16 7:37 [PATCH] getops: make --a-long option work again Sami Kerola
@ 2017-05-16 12:56 ` Karel Zak
0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2017-05-16 12:56 UTC (permalink / raw)
To: Sami Kerola; +Cc: util-linux
On Tue, May 16, 2017 at 08:37:41AM +0100, Sami Kerola wrote:
> misc-utils/getopt-parse.bash | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-05-16 12:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-16 7:37 [PATCH] getops: make --a-long option work again Sami Kerola
2017-05-16 12:56 ` Karel Zak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).