lib/hexapdf/cli/command.rb in hexapdf-0.33.0 vs lib/hexapdf/cli/command.rb in hexapdf-0.34.0
- old
+ new
@@ -51,12 +51,18 @@
class Command < CmdParse::Command
module Extensions #:nodoc:
def help_banner #:nodoc:
"hexapdf #{HexaPDF::VERSION} - Versatile PDF Manipulation Tool\n" \
- "Copyright (c) 2014-2021 Thomas Leitner; licensed under the AGPLv3\n\n" \
+ "Copyright (c) 2014-2023 Thomas Leitner; licensed under the AGPLv3\n\n" \
"#{format(usage, indent: 7)}\n\n"
end
+
+ def help #:nodoc:
+ super << format("See https://hexapdf.gettalong.org/documentation/hexapdf.1.html " \
+ "for the full manual page with examples.", indent: 0)
+ end
+
end
include Extensions
def initialize(*args, **kwargs, &block) #:nodoc: