Agreed by several people, showing progress by default makes sense as
conversion is a one-time and long running action.

Signed-off-by: David Sterba <dste...@suse.cz>
---
 Documentation/btrfs-convert.txt | 2 +-
 btrfs-convert.c                 | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/btrfs-convert.txt b/Documentation/btrfs-convert.txt
index e508c34b4f66..170919706e71 100644
--- a/Documentation/btrfs-convert.txt
+++ b/Documentation/btrfs-convert.txt
@@ -30,7 +30,7 @@ set filesystem label during conversion.
 -L::
 use label from the converted filesystem.
 -p::
-Show progress of conversion.
+Show progress of conversion, on by default.
 
 EXIT STATUS
 -----------
diff --git a/btrfs-convert.c b/btrfs-convert.c
index da10ad668ea6..730fead4a86c 100644
--- a/btrfs-convert.c
+++ b/btrfs-convert.c
@@ -2759,14 +2759,14 @@ fail:
 
 static void print_usage(void)
 {
-       printf("usage: btrfs-convert [-d] [-i] [-n] [-r] [-l label] [-L] 
device\n");
+       printf("usage: btrfs-convert [-d] [-i] [-n] [-r] [-l label] [-L] [-p] 
device\n");
        printf("\t-d           disable data checksum\n");
        printf("\t-i           ignore xattrs and ACLs\n");
        printf("\t-n           disable packing of small files\n");
        printf("\t-r           roll back to ext2fs\n");
        printf("\t-l LABEL     set filesystem label\n");
        printf("\t-L           use label from converted fs\n");
-       printf("\t-p           show converting progress\n");
+       printf("\t-p           show converting progress (default)\n");
 }
 
 int main(int argc, char *argv[])
@@ -2778,7 +2778,7 @@ int main(int argc, char *argv[])
        int rollback = 0;
        int copylabel = 0;
        int usage_error = 0;
-       int progress = 0;
+       int progress = 1;
        char *file;
        char *fslabel = NULL;
 
-- 
2.1.3

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to