From 1e8791d63b0ef9969d6392298b8207d45efd5fc4 Mon Sep 17 00:00:00 2001 From: Denis Lehmann Date: Sat, 9 May 2020 12:57:07 +0200 Subject: [PATCH] update usage --- README.md | 12 ++++++------ huepaper.py | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 03813fa..b9d4e1d 100644 --- a/README.md +++ b/README.md @@ -37,15 +37,15 @@ Install the python requirements with `pip install -r requirements.txt`. optional arguments: -h, --help show this help message and exit -W WIDTH, --width WIDTH - width of wallpaper (defaul: 1920) + width of huepaper (default: 1920) -H HEIGHT, --height HEIGHT - height of wallpaper (default: 1080) + height of huepaper (default: 1080) -c COLOR, --color COLOR - color, the wallpaper is generated from (uses a random + color, the huepaper is generated from (uses a random color if not given) - -p, --preview preview wallpaper + -p, --preview preview huepaper -o OUTPUT, --output OUTPUT - file where to save the wallpaper to (default: None) + file where to save the huepaper to (default: None) -l [LINES], --lines [LINES] include one to three random lines in base color with given opacity in range [0, 1] (default: 0.1) @@ -58,7 +58,7 @@ Install the python requirements with `pip install -r requirements.txt`. -P PIXELATE, --pixelate PIXELATE pixelate image (e.g. 42x42) -e EMBLEM, --emblem EMBLEM - emblem to add in the center of the wallpaper + emblem to add in the center of the huepaper -hue HUE maximum hue to differ from given color in range [0, 1] (default: 0.1) -smin SMIN minimum satisfaction for colors in range [0, 1] diff --git a/huepaper.py b/huepaper.py index efc270e..8532a09 100755 --- a/huepaper.py +++ b/huepaper.py @@ -189,16 +189,16 @@ def main(): # Initialize parser parser = argparse.ArgumentParser(description = 'Create wallpapers based on color hues.') - parser.add_argument('-W', '--width', default = 1920, type = int, help = 'width of wallpaper (defaul: 1920)') - parser.add_argument('-H', '--height', default = 1080, type = int, help = 'height of wallpaper (default: 1080)') - parser.add_argument('-c', '--color', help = 'color, the wallpaper is generated from (uses a random color if not given)') - parser.add_argument('-p', '--preview', action = 'store_true', help = 'preview wallpaper') - parser.add_argument('-o', '--output', help = 'file where to save the wallpaper to (default: None)') + parser.add_argument('-W', '--width', default = 1920, type = int, help = 'width of huepaper (default: 1920)') + parser.add_argument('-H', '--height', default = 1080, type = int, help = 'height of huepaper (default: 1080)') + parser.add_argument('-c', '--color', help = 'color, the huepaper is generated from (uses a random color if not given)') + parser.add_argument('-p', '--preview', action = 'store_true', help = 'preview huepaper') + parser.add_argument('-o', '--output', help = 'file where to save the huepaper to (default: None)') parser.add_argument('-l', '--lines', nargs = '?', const = 0.1, type = float, help = 'include one to three random lines in base color with given opacity in range [0, 1] (default: 0.1)') parser.add_argument('-lb', '--lines_bright', nargs = '?', const = 0.1, type = float, help = 'include one to three bright random lines with given opacity in range [0, 1] (default: 0.1)') parser.add_argument('-ld', '--lines_dark', nargs = '?', const = 0.1, type = float, help = 'include one to three dark random lines with given opacity in range [0, 1] (default: 0.1)') parser.add_argument('-P', '--pixelate', help = "pixelate image (e.g. 42x42)") - parser.add_argument('-e', '--emblem', help = 'emblem to add in the center of the wallpaper') + parser.add_argument('-e', '--emblem', help = 'emblem to add in the center of the huepaper') parser.add_argument('-hue', default = 0.1, type = float, help = 'maximum hue to differ from given color in range [0, 1] (default: 0.1)') parser.add_argument('-smin', default = 0.2, type = float, help = 'minimum satisfaction for colors in range [0, 1] (default: 0.2)') parser.add_argument('-smax', default = 1.0, type = float, help = 'maximum satisfaction for colors in range [0, 1] (default: 1.0)')