OSDN Git Service

Fix help string for f2fs
authorDaniel Rosenberg <drosen@google.com>
Wed, 18 Dec 2019 02:35:51 +0000 (18:35 -0800)
committerDaniel Rosenberg <drosen@google.com>
Wed, 8 Jan 2020 23:09:33 +0000 (15:09 -0800)
Help showed the operands in the wrong order. The script does not appear
to allow for there to be in different order, so fixing the help message

Test: None (could confirm necessary by invoking with flags in other
      order and seeing that it doesn't see the flags)

Change-Id: Ia0a5a41f4743caf03e39df7be53f717a2642b764

f2fs_utils/mkf2fsuserimg.sh

index 582f63c..97e267c 100755 (executable)
@@ -6,9 +6,9 @@ function usage() {
 cat<<EOT
 Usage:
 ${0##*/} OUTPUT_FILE SIZE
-         [-C FS_CONFIG] [-f SRC_DIR] [-D PRODUCT_OUT]
+         [-S] [-C FS_CONFIG] [-f SRC_DIR] [-D PRODUCT_OUT]
          [-s FILE_CONTEXTS] [-t MOUNT_POINT] [-T TIMESTAMP]
-         [-L LABEL] [-S]
+         [-L LABEL]
 EOT
 }