From: Brett Smith Date: Mon, 26 Feb 2024 15:32:31 +0000 (-0500) Subject: 21504: Reorder arv-mount --mount-* options X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/7e9d451769e84b18faf05dd93caf91c440ba8308 21504: Reorder arv-mount --mount-* options For consistency with the previous section. Arvados-DCO-1.1-Signed-off-by: Brett Smith --- diff --git a/services/fuse/arvados_fuse/command.py b/services/fuse/arvados_fuse/command.py index c12e45255b..53e8c26fc7 100644 --- a/services/fuse/arvados_fuse/command.py +++ b/services/fuse/arvados_fuse/command.py @@ -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(