Show More
@@ -170,10 +170,9 b' class Alias(object):' | |||||
170 | cmd = cmd.replace('%l', rest) |
|
170 | cmd = cmd.replace('%l', rest) | |
171 | rest = '' |
|
171 | rest = '' | |
172 |
|
172 | |||
|
173 | if nargs==0: | |||
173 |
|
|
174 | if cmd.find('%%s') >= 1: | |
174 |
|
|
175 | cmd = cmd.replace('%%s', '%s') | |
175 |
|
||||
176 | if nargs==0: |
|
|||
177 |
|
|
176 | # Simple, argument-less aliases | |
178 |
|
|
177 | cmd = '%s %s' % (cmd, rest) | |
179 | else: |
|
178 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now