Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar-network-node
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@sugarlabs.org>2013-03-03 19:34:29 (GMT)
committer Aleksey Lim <alsroot@sugarlabs.org>2013-03-03 19:34:29 (GMT)
commitb5cd000188f05624d242766ff4900918517eaabb (patch)
treeeca5c81017cea91cb60a5f4c951081bb658152bd /sugar-network-node
parent9632015c63f00658525fee63ee07243c6b16ae3a (diff)
Fix excluding issue in Sequence
Diffstat (limited to 'sugar-network-node')
-rwxr-xr-xsugar-network-node6
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)