updated deletion option name to be more explict
This commit is contained in:
parent
879732fb43
commit
5a70faf974
@ -213,13 +213,13 @@ $ guard --guardfile ~/.your_global_guardfile
|
||||
$ guard -G ~/.your_global_guardfile # shortcut
|
||||
```
|
||||
|
||||
### `-D`/`--deletions` option
|
||||
### `-D`/`--watch-moves-deletions` option
|
||||
|
||||
Guard can optionally watch moved or deleted files with:
|
||||
|
||||
``` bash
|
||||
$ guard start -D
|
||||
$ guard start --deletions
|
||||
$ guard start --watch-moves-deletions
|
||||
```
|
||||
|
||||
An exhaustive list of options is available with:
|
||||
|
@ -11,7 +11,7 @@ module Guard
|
||||
method_option :group, :type => :array, :default => [], :aliases => '-g', :banner => "Run only the passed groups"
|
||||
method_option :watchdir, :type => :string, :aliases => '-w', :banner => "Specify the directory to watch"
|
||||
method_option :guardfile, :type => :string, :aliases => '-G', :banner => "Specify a Guardfile"
|
||||
method_option :deletions, :type => :boolean, :default => false, :aliases => '-D', :banner => "Watch for deleted files"
|
||||
method_option :watch_moves_deletions, :type => :boolean, :default => false, :aliases => '-D', :banner => "Watch for moved or deleted files"
|
||||
|
||||
desc "start", "Starts Guard"
|
||||
def start
|
||||
|
Loading…
Reference in New Issue
Block a user