Skip to content

Commit

Permalink
Bugfix: missing commit for r305 (last commit): --status command line …
Browse files Browse the repository at this point in the history
…option

git-svn-id: http://greyhole.googlecode.com/svn/trunk@306 b36e06b6-ea79-11de-95aa-47033305a456
  • Loading branch information
gboudreau committed Dec 8, 2010
1 parent e393e24 commit e234a92
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion greyhole
Expand Up @@ -3222,14 +3222,15 @@ function create_attic_share_symlink($filepath_in_attic, $attic_path) {
}

function process_command_line() {
$opts_actions = 'DflpPsaqi';
$opts_actions = 'DflpPsSaqi';
$longopts_actions = array(
'daemon',
'fsck',
'balance',
'prerotate',
'postrotate',
'stats',
'status',
'empty-attic',
'view-queue',
'iostat'
Expand Down Expand Up @@ -3337,6 +3338,7 @@ function print_usage() {
echo " -f, --fsck Schedule a fsck.\n";
echo " -l, --balance Balance available space on storage pool devices.\n";
echo " -s, --stats Display storage pool statistics.\n";
echo " -S, --status Display what the Greyhole daemon is currently doing.\n";
echo " -q, --view-queue Display the current work queue.\n";
echo " -a, --empty-attic Empty the attic.\n";
echo " -b, --debug=filename Debug past file operations.\n";
Expand Down
1 change: 1 addition & 0 deletions greyhole.example.conf
Expand Up @@ -30,6 +30,7 @@
greyhole_log_file = /var/log/greyhole.log

# Available verbosity levels: DEBUG, INFO, WARN, ERROR, CRITICAL
# Note that for --status to work correctly, you'll need to keep this to DEBUG.

log_level = DEBUG

Expand Down

0 comments on commit e234a92

Please sign in to comment.