From 5e9d134021901ed7f48366f77e6b4acfcf93afda Mon Sep 17 00:00:00 2001 From: Jason Buckner Date: Sat, 24 Nov 2012 22:56:17 -0800 Subject: [PATCH] update documentation for naming consistency --- README.markdown | 4 ++-- lib/homesick.rb | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.markdown b/README.markdown index d9aac4e..c58edfe 100644 --- a/README.markdown +++ b/README.markdown @@ -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): - homesick pull --all|CASTLE_NAME + homesick pull --all|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: diff --git a/lib/homesick.rb b/lib/homesick.rb index aa41310..a705046 100644 --- a/lib/homesick.rb +++ b/lib/homesick.rb @@ -65,7 +65,7 @@ class Homesick < Thor 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" def pull(name="") if options[:all] @@ -79,13 +79,13 @@ class Homesick < Thor end - desc "push NAME", "Push the specified castle" + desc "push CASTLE", "Push the specified castle" def push(name) push_castle name 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." def symlink(name) check_castle_existance(name, "symlink")