~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

Alias update

Show diffs side-by-side

added added

removed removed

Lines of Context:
481
481
 
482
482
 
483
483
def get_alias(cmd):
484
 
    """if an alias for cmd exists, returns the expanded command
485
 
       else returns None"""
 
484
    """Return an expanded alias, or None if no alias exists"""
486
485
    import bzrlib.config
487
486
    alias = bzrlib.config.GlobalConfig().get_alias(cmd)
488
487
    if (alias):