summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2019-09-04 23:53:06 -0400
committerTodd Leonhardt <todd.leonhardt@gmail.com>2019-09-04 23:53:06 -0400
commit152a3c276341c7af8875bf116d6f5e1f1271bd2a (patch)
tree314675440ee3ccfd3d6076689853731bf6e82d0a /cmd2/cmd2.py
parent4e76883966b4f5d33d982041affd2beec67c68b5 (diff)
downloadcmd2-git-152a3c276341c7af8875bf116d6f5e1f1271bd2a.tar.gz
Make pyperclip failure error message more specific
Diffstat (limited to 'cmd2/cmd2.py')
-rwxr-xr-xcmd2/cmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index 6b509c20..a0a49a51 100755
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -2046,7 +2046,7 @@ class Cmd(cmd.Cmd):
elif statement.output:
import tempfile
if (not statement.output_to) and (not self._can_clip):
- self.perror("Cannot redirect to paste buffer; install 'pyperclip' and re-run to enable")
+ self.perror("Cannot redirect to paste buffer; missing 'pyperclip' and/or pyperclip dependencies")
redir_error = True
elif statement.output_to: