summaryrefslogtreecommitdiff
path: root/examples/scripts/arg_printer.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2020-04-25 12:42:37 -0400
committerGitHub <noreply@github.com>2020-04-25 12:42:37 -0400
commitd4653e6fccf0bc15d04075110769c11befb22819 (patch)
treea04ca95d6f67bae491f290cc71036d2a4f6b168c /examples/scripts/arg_printer.py
parent9c7bbfa5bdbf8c8d81c0cd3c3cd5179d700de0b2 (diff)
parent9b78cf4913202995dcf065ecf5077bf16fa01f95 (diff)
downloadcmd2-git-d4653e6fccf0bc15d04075110769c11befb22819.tar.gz
Merge pull request #931 from python-cmd2/branching_strategy
Added info on SemVer and branching strategy to CONTRIBUTING.md
Diffstat (limited to 'examples/scripts/arg_printer.py')
-rwxr-xr-xexamples/scripts/arg_printer.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/scripts/arg_printer.py b/examples/scripts/arg_printer.py
index 19f6dd3f..f5f30c6d 100755
--- a/examples/scripts/arg_printer.py
+++ b/examples/scripts/arg_printer.py
@@ -2,6 +2,7 @@
# coding=utf-8
import os
import sys
+
print("Running Python script {!r} which was called with {} arguments".format(os.path.basename(sys.argv[0]),
len(sys.argv) - 1))
for i, arg in enumerate(sys.argv[1:]):