Update command message

This commit is contained in:
Dimitris Zlatanidis 2017-02-22 22:04:46 +02:00
parent 1ac3746db2
commit 8afcc1fb4a
2 changed files with 3 additions and 3 deletions

View file

@ -34,7 +34,7 @@ class DialogUtil(object):
try:
from dialog import Dialog
except ImportError:
print("Require 'pythondialog': Install with '# slpkg -s sbo "
print("Require 'pythondialog': Install with 'slpkg -s sbo "
"python2-pythondialog'")
raise SystemExit()
self.d = Dialog(dialog="dialog", autowidgetsize=True)

View file

@ -51,7 +51,7 @@ class Graph(object):
not os.path.isfile("/usr/bin/graph-easy")):
comma = ","
graph_easy = " graph-easy"
print("Require 'pygraphviz{0}{1}': Install with '# slpkg -s sbo "
print("Require 'pygraphviz{0}{1}': Install with 'slpkg -s sbo "
"pygraphviz{1}'".format(comma, graph_easy))
raise SystemExit()
if self.image != "ascii":
@ -87,7 +87,7 @@ class Graph(object):
"""Draw ascii diagram. graph-easy perl module require
"""
if not os.path.isfile("/usr/bin/graph-easy"):
print("Require 'graph-easy': Install with '$ slpkg -s sbo "
print("Require 'graph-easy': Install with 'slpkg -s sbo "
"graph-easy'")
self.remove_dot()
raise SystemExit()