update documentation for naming consistency

This commit is contained in:
Jason Buckner
2012-11-24 22:56:17 -08:00
parent 74713f8b7c
commit e6c0ac91cd
2 changed files with 5 additions and 5 deletions

View File

@@ -35,11 +35,11 @@ If you're not sure what castles you have around, you can easily list them:
To pull your castle (or all castles): To pull your castle (or all castles):
homesick pull --all|CASTLE_NAME homesick pull --all|CASTLE
To push your castle: To push your castle:
homesick push CASTLE_NAME homesick push CASTLE
Not sure what else homesick has up its sleeve? There's always the built in help: Not sure what else homesick has up its sleeve? There's always the built in help:

View File

@@ -64,7 +64,7 @@ class Homesick < Thor
end end
end end
desc "pull NAME", "Update the specified castle" desc "pull CASTLE", "Update the specified castle"
method_option :all, :type => :boolean, :default => false, :required => false, :desc => "Update all cloned castles" method_option :all, :type => :boolean, :default => false, :required => false, :desc => "Update all cloned castles"
def pull(name="") def pull(name="")
if options[:all] if options[:all]
@@ -78,13 +78,13 @@ class Homesick < Thor
end end
desc "push NAME", "Push the specified castle" desc "push CASTLE", "Push the specified castle"
def push(name) def push(name)
push_castle name push_castle name
end end
desc "symlink NAME", "Symlinks all dotfiles from the specified castle" desc "symlink CASTLE", "Symlinks all dotfiles from the specified castle"
method_option :force, :default => false, :desc => "Overwrite existing conflicting symlinks without prompting." method_option :force, :default => false, :desc => "Overwrite existing conflicting symlinks without prompting."
def symlink(name) def symlink(name)
check_castle_existance(name, "symlink") check_castle_existance(name, "symlink")