21504: Reorder arv-mount --mount-* options
[arvados.git] / services / fuse / arvados_fuse / command.py
index c12e45255b3d47990880e007534301ea489915fb..53e8c26fc7b40c20290a7442d371582edc4981e9 100644 (file)
@@ -134,6 +134,23 @@ The JSON object should be a list of filters in Arvados API list filter syntax.
             default=[],
             help="Make your home project available under the mount at PATH",
         )
+        mounts.add_argument(
+            '--mount-shared',
+            metavar='PATH',
+            action='append',
+            default=[],
+            help="Make projects shared with you available under the mount at PATH",
+        )
+        mounts.add_argument(
+            '--mount-tmp',
+            metavar='PATH',
+            action='append',
+            default=[],
+            help="""
+Make a new temporary writable collection available under the mount at PATH.
+This collection is deleted when the mount is unmounted.
+""",
+        )
         mounts.add_argument(
             '--mount-by-id',
             metavar='PATH',
@@ -155,13 +172,6 @@ Make a magic directory available under the mount at PATH where collections
 are accessible through subdirectories named after portable data hash
 """,
         )
-        mounts.add_argument(
-            '--mount-shared',
-            metavar='PATH',
-            action='append',
-            default=[],
-            help="Make projects shared with you available under the mount at PATH",
-        )
         mounts.add_argument(
             '--mount-by-tag',
             metavar='PATH',
@@ -172,16 +182,6 @@ Make a subdirectory for each tag attached to a collection or project available
 under the mount at PATH
 """ ,
         )
-        mounts.add_argument(
-            '--mount-tmp',
-            metavar='PATH',
-            action='append',
-            default=[],
-            help="""
-Make a new temporary writable collection available under the mount at PATH.
-This collection is deleted when the mount is unmounted.
-""",
-        )
 
         perms = self.add_argument_group("Mount access and permissions")
         perms.add_argument(