mirror of
https://github.com/gryf/wicd.git
synced 2025-12-20 12:58:07 +01:00
Debian patch: 08-fix_help_message.patch
This commit is contained in:
@@ -1026,7 +1026,7 @@ setup_dbus()
|
||||
########################################
|
||||
if __name__ == '__main__':
|
||||
try:
|
||||
parser = OptionParser(version="wicd-curses-%s (using wicd %s)" % (CURSES_REV,daemon.Hello()))
|
||||
parser = OptionParser(version="wicd-curses-%s (using wicd %s)" % (CURSES_REV,daemon.Hello()), prog="wicd-curses")
|
||||
except Exception, e:
|
||||
if "DBus.Error.AccessDenied" in e.get_dbus_name():
|
||||
print language['access_denied_wc'].replace('$A','\033[1;34m'+wpath.wicd_group+'\033[0m')
|
||||
|
||||
Reference in New Issue
Block a user