From 8cba4516bbd51f6459f1699979138c741f407f64 Mon Sep 17 00:00:00 2001 From: Joey Castillo Date: Fri, 18 Feb 2022 10:05:21 -0500 Subject: add additional watch face types to generator --- movement/template/watch_face.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/movement/template/watch_face.py b/movement/template/watch_face.py index 4833c382..4143b01f 100644 --- a/movement/template/watch_face.py +++ b/movement/template/watch_face.py @@ -71,8 +71,8 @@ def update_include_file(file_path, indicator_line, line_to_insert): def main(): parser = argparse.ArgumentParser(description="Create a new watch face.") - parser.add_argument("watch_face_type", metavar="face_type", type=str, choices=["complication", "clock"], help="The type of watch face to create, either \"complication\" or \"clock\"") - parser.add_argument("watch_face_name", metavar="face_name", type=str, help="The name of the watch face") + parser.add_argument("watch_face_type", metavar="face_type", type=str, choices=["clock", "complication", "demo", "sensor", "settings"], help="The type of watch face to create ('clock', 'complication', 'demo', 'sensor', 'settings')") + parser.add_argument("watch_face_name", metavar="face_name", type=str, help="The name of the watch face. Use underscores between words if you have more than one.") parser.add_argument("--author-name", metavar="author_name", type=str, nargs='*', help="The name of the author") args = parser.parse_args() -- cgit v1.2.3