Don't print extra "GNU" in help - src-highlite.git - src-highlite

index : src-highlite.git
src-highlite
summary refs log tree commit diff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023年01月29日 17:52:54 -0700
committerTom Tromey <tom@tromey.com>2023年01月29日 17:52:54 -0700
commite45099f4068ba514d1a934ccbf079c23e6ca08fb (patch)
treefbac0a4a4258f8677a37848b779b9bd5628a6bb0
parent4b055d298d24bcc306a9923c945c223ada7d8479 (diff)
downloadsrc-highlite-e45099f4068ba514d1a934ccbf079c23e6ca08fb.tar.gz
Don't print extra "GNU" in help
K . Kurokawa pointed out that --help prints: GNU GNU source-highlight 3.1.9 This seems to be from the explicit use of "GNU" in source-highlight.cc.
Diffstat
-rw-r--r--src/source-highlight.cc 1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/source-highlight.cc b/src/source-highlight.cc
index 776ca2c..a30f7e9 100644
--- a/src/source-highlight.cc
+++ b/src/source-highlight.cc
@@ -118,7 +118,6 @@ int main(int argc, char * argv[]) {
}
if (args_info.help_given || args_info.detailed_help_given) {
- cout << "GNU ";
if (args_info.detailed_help_given) {
cmdline_parser_print_detailed_help();
} else {
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月25日 03:38:28 +0000

AltStyle によって変換されたページ (->オリジナル) /