popt/popt-1.18-ltname.patch
2021-06-23 11:00:28 +03:00

22 lines
1.2 KiB
Diff

diff -up popt-1.18/tests/testit.sh.ltname popt-1.18/tests/testit.sh
--- popt-1.18/tests/testit.sh.ltname 2021-06-23 10:54:18.334525616 +0300
+++ popt-1.18/tests/testit.sh 2021-06-23 10:54:28.330677496 +0300
@@ -115,7 +115,7 @@ run test1 "test1 - 56" "arg1: 0 arg2: (n
run test1 "test1 - 57" "arg1: 0 arg2: (none) aBits: foo,baz" --bits foo,bar,baz,!bar
run test1 "test1 - 58" "\
-Usage: lt-test1 [-I?] [-c|--cb2=STRING] [--arg1] [-2|--arg2=ARG]
+Usage: test1 [-I?] [-c|--cb2=STRING] [--arg1] [-2|--arg2=ARG]
[-3|--arg3=ANARG] [-onedash] [--optional=STRING] [--val]
[-i|--int=INT] [-s|--short=SHORT] [-l|--long=LONG]
[-L|--longlong=LONGLONG] [-f|--float=FLOAT] [-d|--double=DOUBLE]
@@ -124,7 +124,7 @@ Usage: lt-test1 [-I?] [-c|--cb2=STRING]
[--bitxor] [--nstr=STRING] [--lstr=STRING] [-I|--inc]
[-c|--cb=STRING] [--longopt] [-?|--help] [--usage] [--simple=ARG]" --usage
run test1 "test1 - 59" "\
-Usage: lt-test1 [OPTION...]
+Usage: test1 [OPTION...]
--arg1 First argument with a really long
description. After all, we have to test
argument help wrapping somehow, right?