From cc29bc5f59eb67afa8fc60c790575086b282247d Mon Sep 17 00:00:00 2001 From: kageru Date: Mon, 22 Jan 2018 22:52:35 +0100 Subject: [PATCH] made invocation of clipboard mode easier/faster --- pyshare.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyshare.py b/pyshare.py index 7c0fa36..9a6d227 100755 --- a/pyshare.py +++ b/pyshare.py @@ -148,7 +148,7 @@ if __name__ == '__main__': args.mode = 'screenshot' if args.mode == 'screenshot': take_screenshot() - elif args.mode == 'clipboard': + elif args.mode in ('clipboard', 'text', 'b'): parse_text(pyperclip.paste()) else: for file in args.files: