aboutsummaryrefslogtreecommitdiff
path: root/src/bin/watcher
diff options
context:
space:
mode:
authorLibravatar Waishnav <waishnavdeore@gmail.com>2022-07-18 16:41:53 +0530
committerLibravatar Waishnav <waishnavdeore@gmail.com>2022-07-18 16:41:53 +0530
commitfbe30df91fd15dd52c31a1237c9a00c24763f509 (patch)
tree189446929df9dec5b11e72f0a0e7c8a1ed7f6956 /src/bin/watcher
parentc927f1f3694b90573373e07230730ec9b8e6a18c (diff)
downloadshopno-os-log-sync-fbe30df91fd15dd52c31a1237c9a00c24763f509.tar.gz
shopno-os-log-sync-fbe30df91fd15dd52c31a1237c9a00c24763f509.zip
adding -s option to start watch_log function | active_window function updated to reduce error to get home-screen
Diffstat (limited to 'src/bin/watcher')
-rw-r--r--src/bin/watcher2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/watcher b/src/bin/watcher
index 4bea832..f9d291c 100644
--- a/src/bin/watcher
+++ b/src/bin/watcher
@@ -27,7 +27,7 @@ try:
cmd.week_summary()
elif arg == "-h" or arg == "--help":
help_option()
- elif arg == "--start":
+ elif arg == "--start" or arg == "-s":
print("Log creations started... \nif you wanna stop it, use keyboard-shortcut (Ctrl+Shift+C or Ctrl+C)")
x.log_creation()
elif arg == "--version":