mirror of
https://github.com/GeopJr/BLAHAJ.git
synced 2025-01-22 08:36:30 +01:00
chore(OptionParser): reorder cli flags so they match priority
-s > -f and -i > -w
This commit is contained in:
parent
63003ce6b9
commit
e895d6b850
2 changed files with 3 additions and 3 deletions
|
@ -49,7 +49,7 @@ Flags with eg. triangles, circles or symbols, need enough horizontal space to de
|
||||||
|
|
||||||
### Why are the stripes repeating instead of showing the flag in full?
|
### Why are the stripes repeating instead of showing the flag in full?
|
||||||
|
|
||||||
Just like the previous question, BLÅHAJ can't know how long the text is going to be (vertically) as it colorizes the input as it comes in.
|
Just like the previous question, BLÅHAJ can't know how long the text is going to be (vertically) since it colorizes the input as it comes in.
|
||||||
|
|
||||||
### I would like to add a color scheme or flag
|
### I would like to add a color scheme or flag
|
||||||
|
|
||||||
|
|
|
@ -31,14 +31,14 @@ module Blahaj
|
||||||
blahaj -s -b
|
blahaj -s -b
|
||||||
neofetch | blahaj -f gay
|
neofetch | blahaj -f gay
|
||||||
blahaj -f lesbian -m 4
|
blahaj -f lesbian -m 4
|
||||||
blahaj -- -w /etc/os-release
|
blahaj -w /etc/os-release
|
||||||
|
|
||||||
#{"Arguments:".colorize(:light_blue)}
|
#{"Arguments:".colorize(:light_blue)}
|
||||||
BANNER
|
BANNER
|
||||||
|
|
||||||
parser.on("-b", "--background", "Color the background") { CLI["background"] = true }
|
parser.on("-b", "--background", "Color the background") { CLI["background"] = true }
|
||||||
parser.on("-f", "--flag", "Return a flag") { CLI["flag"] = true }
|
|
||||||
parser.on("-s", "--shark", "Shork") { CLI["shark"] = true }
|
parser.on("-s", "--shark", "Shork") { CLI["shark"] = true }
|
||||||
|
parser.on("-f", "--flag", "Return a flag") { CLI["flag"] = true }
|
||||||
parser.on("-i", "--individual", "Color individual characters") { CLI["individual"] = true }
|
parser.on("-i", "--individual", "Color individual characters") { CLI["individual"] = true }
|
||||||
parser.on("-w", "--words", "Color individual words") { CLI["words"] = true }
|
parser.on("-w", "--words", "Color individual words") { CLI["words"] = true }
|
||||||
parser.on("-m MULTIPLIER", "--multiplier=MULTIPLIER", "Multiplier for the flag size (-f)") do |multiplier|
|
parser.on("-m MULTIPLIER", "--multiplier=MULTIPLIER", "Multiplier for the flag size (-f)") do |multiplier|
|
||||||
|
|
Loading…
Reference in a new issue