~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/using_aliases.txt

  • Committer: Brad Crittenden
  • Date: 2007-03-02 12:40:45 UTC
  • mto: This revision was merged to the branch mainline in revision 2311.
  • Revision ID: bac@canonical.com-20070302124045-3a9o45va231z0w0a
post review changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
Rules for Aliases
43
43
=================
44
44
 
45
 
 * You can override parts of the options given in an alias by overriding it.
46
 
   For example, if you run ``lastlog -r-5..``, you will only get five
47
 
   line-based log entries instead of 10.
 
45
 * You can override a portion of the options given in an alias by
 
46
   specifying the new part on the command-line.  For example, if
 
47
   you run ``lastlog -r-5..``, you will only get five line-based log
 
48
   entries instead of 10.  Note that all boolean options have an
 
49
   implicit inverse, so you can override the commit alias with
 
50
   ``commit --no-strict``.
 
51
 
48
52
 * Aliases can override the standard behaviour of existing commands by giving
49
53
   an alias name that is the same as the orignal command. For example, default
50
54
   commit is changed with ``commit=commit --strict``.