Skip to content

Commit

Permalink
Changing figlet logos command line argument name
Browse files Browse the repository at this point in the history
  • Loading branch information
iinsertNameHere committed Jul 20, 2024
1 parent ef079e8 commit cbb3186
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/catnap.nim
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ proc printHelp(cfg: Config) =
echo " -m --margin <Margin> Overwrite margin value for the displayed logo (Example: 1,2,3)"
echo " -l --layout <Layout> Overwrite layout config value [Inline,LogoOnTop,StatsOnTop]"
echo ""
echo " -fe --figletLogos.enable <on/off> Overwrite figletLogos mode"
echo " -fm --figletLogos.margin <Margin> Overwrite figletLogos margin (Example: 1,2,3)"
echo " -ff --figletLogos.font <Font> Overwrite figletLogos font"
echo " -fe --figlet-enable <on/off> Overwrite figletLogos mode"
echo " -fm --figlet-margin <Margin> Overwrite figletLogos margin (Example: 1,2,3)"
echo " -ff --figlet-font <Font> Overwrite figletLogos font"
echo ""
echo "StatNames:"
echo " " & (STATNAMES & @["disks"] & disk_statnames).join(", ").wrapWords(80).replace("\n", "\n ")
Expand Down Expand Up @@ -205,7 +205,7 @@ if paramCount() > 0:
layout = paramStr(idx)

# FigletLogos enabled Argument
elif param == "-fe" or param == "--figletLogos.enabled":
elif param == "-fe" or param == "--figlet-enabled":
if paramCount() - idx < 1:
logError(&"'{param}' - No Value was specified!", false)
error = true
Expand All @@ -231,7 +231,7 @@ if paramCount() > 0:
continue

# FigletLogos margin Argument
elif param == "-fm" or param == "--figletLogos.margin":
elif param == "-fm" or param == "--figlet-margin":
if paramCount() - idx < 1:
logError(&"{param} - No Value was specified!", false)
error = true
Expand Down Expand Up @@ -271,7 +271,7 @@ if paramCount() > 0:


# FigletLogos font Argument
elif param == "-ff" or param == "--figletLogos.font":
elif param == "-ff" or param == "--figlet-font":
if paramCount() - idx < 1:
logError(&"'{param}' - No Value was specified!", false)
error = true
Expand Down

0 comments on commit cbb3186

Please sign in to comment.