We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2028873 commit 5423192Copy full SHA for 5423192
1 file changed
stashcp/__init__.py
@@ -856,7 +856,9 @@ def main():
856
sys.exit(0)
857
858
if len(opts) != 2:
859
- parser.error('Source and Destination must be specified on command line')
+ logging.error('Source and Destination must be specified on command line')
860
+ parser.print_help()
861
+ sys.exit(1)
862
else:
863
source=opts[0]
864
destination=opts[1]
0 commit comments