bitkeeper revision 1.1062.1.4 (40f071adpADaHVr_bSwBDtkumtyL-Q)

minor UI improvements to 'xm'
This commit is contained in:
iap10@labyrinth.cl.cam.ac.uk committed 2004-07-10 22:46:05 +00:00
1 parent e439cdf3ef
commit b79a721406
2 files changed
+4 -4

No files matched your search

+3 -4
View File
@@ -78,11 +78,10 @@ class Xm:
"""
self.name = args[0]
if len(args) < 2:
self.err("Missing command\nTry '%s help' for more information."
% self.name)
help = self.helparg(args)
args.append('help')
help = self.helparg(args)
p = self.getprog(args[1], self.unknown)
if help:
if help or len(args) < 2:
p.help(args[1:])
else:
p.main(args[1:])
+1
View File
@@ -331,6 +331,7 @@ class Opts:
else:
p = self.vals.defaults
if os.path.exists(p):
print 'Using config file %s\n' % (p)
self.load(p, help)
break
else:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.