summaryrefslogtreecommitdiff
path: root/cmd2
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2018-04-29 15:26:51 -0600
committerkotfu <kotfu@kotfu.net>2018-04-29 15:26:51 -0600
commit00093dd2cff5b0532c9c6154b396acf49043df66 (patch)
tree41dc06850cf3e9fbf50766e93a8523d7cd3bfa19 /cmd2
parentc7fa6969ffde1247122a714b597d088ca6af9166 (diff)
downloadcmd2-git-00093dd2cff5b0532c9c6154b396acf49043df66.tar.gz
Remove trailing newline from cmdenvironment()
Diffstat (limited to 'cmd2')
-rwxr-xr-xcmd2/cmd2.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index 360743ed..5419a6fa 100755
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -2694,9 +2694,8 @@ Usage: Usage: unalias [-a] name [name ...]
read_only_settings = """
Commands may be terminated with: {}
Arguments at invocation allowed: {}
- Output redirection and pipes allowed: {}
- """.format(str(self.terminators), self.allow_cli_args, self.allow_redirection)
- return read_only_settings
+ Output redirection and pipes allowed: {}"""
+ return read_only_settings.format(str(self.terminators), self.allow_cli_args, self.allow_redirection)
def show(self, args, parameter):
param = ''