From c846c000883d4eebd1d4135dac6a379faf7484c7 Mon Sep 17 00:00:00 2001 From: Ian Weller Date: Tue, 22 Dec 2009 02:46:09 -0600 Subject: [PATCH] Rename fetch to pull We'll use 'fetch' to download newer wiki revisions, which will lead to using 'update' to apply those newer revisions. --- src/mw/clicommands.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/mw/clicommands.py b/src/mw/clicommands.py index 7ead096..c180c6a 100644 --- a/src/mw/clicommands.py +++ b/src/mw/clicommands.py @@ -72,11 +72,10 @@ class InitCommand(CommandBase): self.metadir.create(self.args[0]) -class FetchCommand(CommandBase): +class PullCommand(CommandBase): def __init__(self): usage = '%prog fetch [options] PAGENAME ...' - CommandBase.__init__(self, 'fetch', 'fetch remote pages', usage) - self.shortcuts.append('ft') + CommandBase.__init__(self, 'pull', 'add remote pages to repo', usage) def _do_command(self): self._die_if_no_init() -- 2.39.5