- parser.add_argument('--collection', type=str, help="""Mount only the specified collection at the mount point.""")
- parser.add_argument('--tags', action='store_true', help="""Mount as a virtual directory consisting of subdirectories representing tagged
-collections on the server.""")
- parser.add_argument('--groups', action='store_true', help="""Mount as a virtual directory consisting of subdirectories representing groups on the server.""")
+
+ mount_mode = parser.add_mutually_exclusive_group()
+
+ mount_mode.add_argument('--home', action='store_true', help="""Mount the user's home project (default).""")
+ mount_mode.add_argument('--collection', type=str, help="""Mount only the specified collection at the mount point.""")
+ mount_mode.add_argument('--tags', action='store_true',
+ help="""Mount as a virtual directory consisting of subdirectories representing
+tagged collections on the server.""")
+ mount_mode.add_argument('--project', type=str, help="""Mount a specific project by uuid.""")
+ mount_mode.add_argument('--by-hash', action='store_true',
+ help="""Mount as a virtual directory consisting of subdirectories for each
+collection by portable data hash.""")
+