21504: Reorder arv-mount --mount-* options
authorBrett Smith <brett.smith@curii.com>
Mon, 26 Feb 2024 15:32:31 +0000 (10:32 -0500)
committerBrett Smith <brett.smith@curii.com>
Mon, 26 Feb 2024 16:53:25 +0000 (11:53 -0500)
For consistency with the previous section.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

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(