diff options
author | Aleksey Lim <alsroot@sugarlabs.org> | 2013-03-03 19:34:29 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@sugarlabs.org> | 2013-03-03 19:34:29 (GMT) |
commit | b5cd000188f05624d242766ff4900918517eaabb (patch) | |
tree | eca5c81017cea91cb60a5f4c951081bb658152bd /sugar-network-node | |
parent | 9632015c63f00658525fee63ee07243c6b16ae3a (diff) |
Fix excluding issue in Sequence
Diffstat (limited to 'sugar-network-node')
-rwxr-xr-x | sugar-network-node | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sugar-network-node b/sugar-network-node index a203830..2004483 100755 --- a/sugar-network-node +++ b/sugar-network-node @@ -112,14 +112,16 @@ class Application(application.Daemon): def shutdown(self): self.jobs.kill() - @application.command('direct synchronization with master node') + @application.command( + 'direct synchronization with master node', + name='online-sync') def online_sync(self): self._ensure_instance().post(cmd='online-sync') @application.command( 'sneakernet synchronization with other nodes using files ' 'placed to the specified directory', - args='PATH') + args='PATH', name='offline-sync') def offline_sync(self): enforce(self.args, 'PATH was not specified') path = self.args.pop(0) |