fix: fixed help formatting
The formatting was kinda broken because I was using multi line strings like I was writing nix :S Signed-off-by: Christina Sørensen <christina@cafkafk.com>
This commit is contained in:
parent
9b4283b9ec
commit
7dc68e9a3f
2 changed files with 11 additions and 10 deletions
|
@ -25,7 +25,8 @@ const CONFIG_FILE: &str = "/.config/gg/config.yaml";
|
|||
|
||||
const HELP_TEMPLATE: &str = "\
|
||||
{before-help}{name} {version}
|
||||
{author-with-newline}{about-with-newline}
|
||||
{about-with-newline}
|
||||
|
||||
{usage-heading} {usage}
|
||||
|
||||
{all-args}{after-help}
|
||||
|
|
|
@ -22,11 +22,11 @@
|
|||
/// Contains the notice for interactive programs from the GPLv3's "How to Apply
|
||||
/// These Terms to Your New Programs"
|
||||
pub const INTERACTIVE_NOTICE: &str = "\
|
||||
gg Copyright (C) 2023 Christina Sørensen <christina@cafkafk.com>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `gg --warranty'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `gg --license' for details.
|
||||
";
|
||||
gg Copyright (C) 2023 Christina Sørensen <cafkafk.com>
|
||||
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `gg
|
||||
--warranty'. This is free software, and you are welcome to redistribute it under
|
||||
certain conditions; type `gg --license' for details. ";
|
||||
|
||||
/// Contains the license part of the long notice for interactive programs from
|
||||
/// the GPLv3's "How to Apply These Terms to Your New Programs"
|
||||
|
|
Loading…
Reference in a new issue