← Back to team overview

holland-coredev team mailing list archive

[Bug 782871] Re: Holland command-line reference looks odd (1.1)

 

** Changed in: holland-backup
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Holland
Build, which is subscribed to holland-backup.
https://bugs.launchpad.net/bugs/782871

Title:
  Holland command-line reference looks odd (1.1)

Status in Holland Backup Framework:
  Fix Released

Bug description:
  Holland's available commands list when running 'holland -v' is
  prefixed by timestamps found in the holland.log which looks a bit out
  of place compared to the other Holland command-line options:

  im@HollandBuild:~/git/holland$ holland -v
  2011-05-15 02:51:22,091 [INFO] Failed to open log file: [Errno 2] No such file or directory: u'/var/log/holland/holland.log'
  2011-05-15 02:51:22,091 [INFO] Skipping file logging.
  usage: holland [--help] [--config <file>] [--log-level <log-level>] [--debug]
                 [--verbose] [--quiet]
                 [subcommand] ...

  Holland Backup v1.1.0
  Copyright (c) 2008-2011 Rackspace US, Inc.
  More info available at http://hollandbackup.org

  [[[[[[[]]]]]]] [[[[[[[]]]]]]]
  [[[[[[[]]]]]]]       [[[[[[[]]]]]]]
  [[[[[[[]]]]]]] [[[[[[[]]]]]]]
  [[[[[[[]]]]]]] [[[[[[[]]]]]]]

  positional arguments:
    subcommand
    args

  optional arguments:
    --help, -h
    --config <file>, -c <file>
                          Read configuration from the given file
    --log-level <log-level>, -l <log-level>
                          Specify the log level.
    --debug, -d           Log debug output (alias for --log-level=debug)
    --verbose, -v         Log verbose output (alias for --log-level=info)
    --quiet, -q           Disable all output. (alias for --log-level=none)
  2011-05-15 02:51:22,103 [INFO] 
  2011-05-15 02:51:22,103 [INFO] Available commands:
  2011-05-15 02:51:22,104 [INFO] backup          (bk) Run a backup
  2011-05-15 02:51:22,104 [INFO] help                 Show help for holland commands
  2011-05-15 02:51:22,104 [INFO] list-backups    (lb) List spooled backups
  2011-05-15 02:51:22,104 [INFO] list-commands   (lc) List available holland commands
  2011-05-15 02:51:22,104 [INFO] list-plugins    (lp) List available holland plugins
  2011-05-15 02:51:22,104 [INFO] mk-config       (mc) Generate a configuration file from a plugin
  2011-05-15 02:51:22,104 [INFO] purge                Purge a backup


References