summaryrefslogtreecommitdiff
path: root/tests/misc/nl
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-04-12 19:51:36 +0000
committerJim Meyering <jim@meyering.net>2003-04-12 19:51:36 +0000
commitb62edfd3f9220788d7ac31c2028b83d29dba47e5 (patch)
tree088f660b453026a38efe8ac1e0d11335f5487d0b /tests/misc/nl
parentd5fdbeda8958743229b88b0151268bd02848fc87 (diff)
downloadcoreutils-b62edfd3f9220788d7ac31c2028b83d29dba47e5.tar.xz
Giving nl an invalid STYLE argument (in --header-numbering=STYLE (-h),
--body-numbering=STYLE (-b), or --footer-numbering=STYLE (-f)) or FORMAT (--number-format=FORMAT (-n)) would not give a useful diagnostic. (main): Fix those problems and remove literal quote marks (e.g., "`%s'") from format string; instead use "%s" in each format string and `quote (optarg)' as the corresponding argument. Also, diagnose all invalid command line options before failing.
Diffstat (limited to 'tests/misc/nl')
0 files changed, 0 insertions, 0 deletions