diff options
author | Andreas Müller <andreas.mueller@ost.ch> | 2022-02-26 10:25:04 +0100 |
---|---|---|
committer | Andreas Müller <andreas.mueller@ost.ch> | 2022-02-26 10:25:04 +0100 |
commit | 3cd07dec42d0019ef7b875de24a963af119e647d (patch) | |
tree | 79ced742add77c76a899edfe420fe895c0abcaef /vorlesungsnotizen/bin/numberpages.cpp | |
parent | number PDFs (diff) | |
download | SeminarSpezielleFunktionen-3cd07dec42d0019ef7b875de24a963af119e647d.tar.gz SeminarSpezielleFunktionen-3cd07dec42d0019ef7b875de24a963af119e647d.zip |
cleanup
Diffstat (limited to '')
-rw-r--r-- | vorlesungsnotizen/bin/numberpages.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vorlesungsnotizen/bin/numberpages.cpp b/vorlesungsnotizen/bin/numberpages.cpp index b990453..704a671 100644 --- a/vorlesungsnotizen/bin/numberpages.cpp +++ b/vorlesungsnotizen/bin/numberpages.cpp @@ -14,7 +14,8 @@ #include <sys/stat.h> void usage(char *progname) { - std::cout << "usage: " << progname << " [ -f ] [ -s section ] <unnumbered.pdf> <numbered.pdf>" << std::endl; + std::cout << "usage: " << progname << " [ -f ] [ -s section ] "; + std::cout << "<unnumbered.pdf> <numbered.pdf>" << std::endl; } struct option longoptions[] = { @@ -29,7 +30,8 @@ int main(int argc, char *argv[]) { bool debug = false; std::string section; int c, longindex, rc; - while (EOF != (c = getopt_long(argc, argv, "dfhs:?", longoptions, &longindex))) { + while (EOF != (c = getopt_long(argc, argv, "dfhs:?", longoptions, + &longindex))) { switch (c) { case 'd': debug = true; |