optimize output
This commit is contained in:
parent
d37fda01e8
commit
0bd290a085
1 changed files with 4 additions and 5 deletions
9
bin/rzr
9
bin/rzr
|
|
@ -13,8 +13,7 @@ import toml
|
||||||
|
|
||||||
def print_greeter():
|
def print_greeter():
|
||||||
|
|
||||||
logo = """
|
logo = """ _ _ _
|
||||||
_ _ _
|
|
||||||
/\ \ /\ \ /\ \
|
/\ \ /\ \ /\ \
|
||||||
/ \ \ / \ \ / \ \
|
/ \ \ / \ \ / \ \
|
||||||
/ /\ \ \ __/ /\ \ \ / /\ \ \
|
/ /\ \ \ __/ /\ \ \ / /\ \ \
|
||||||
|
|
@ -200,19 +199,19 @@ if __name__ == "__main__":
|
||||||
metavar="COMMAND",
|
metavar="COMMAND",
|
||||||
nargs="?",
|
nargs="?",
|
||||||
default="list-devices",
|
default="list-devices",
|
||||||
help="One of the following:\n list-devices - list devices (default)\n list-lightmaps - list lightmaps\n list-profiles - list available profiles\n iterate-lights - iterate lights of all devices\n <PROFILE> - apply the given profile",
|
help="one of the following:\n list-devices - list available devices (default)\n list-lightmaps - list available lightmaps\n list-profiles - list available profiles\n iterate-lights - iterate though all lights of all devices\n <PROFILE> - apply the given profile",
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"-ld",
|
"-ld",
|
||||||
"--lightmap-directory",
|
"--lightmap-directory",
|
||||||
default="{}/.config/rzr/lightmaps".format(Path.home()),
|
default="{}/.config/rzr/lightmaps".format(Path.home()),
|
||||||
help="Path to directory with lightmaps (default: ~/.config/rzr/lightmaps)",
|
help="path to directory with lightmaps (default: ~/.config/rzr/lightmaps)",
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"-pd",
|
"-pd",
|
||||||
"--profile-directory",
|
"--profile-directory",
|
||||||
default="{}/.config/rzr/profiles".format(Path.home()),
|
default="{}/.config/rzr/profiles".format(Path.home()),
|
||||||
help="Path to directory with profiles (default: ~/.config/rzr/profiles)",
|
help="path to directory with profiles (default: ~/.config/rzr/profiles)",
|
||||||
)
|
)
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue