- 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('--all', action='store_true', help="""Mount a subdirectory for each mode: home, shared, by_tag, by_id (default).""")
+ mount_mode.add_argument('--home', action='store_true', help="""Mount only the user's home project.""")
+ mount_mode.add_argument('--shared', action='store_true', help="""Mount only list of projects shared with the user.""")
+ mount_mode.add_argument('--by-tag', action='store_true',
+ help="""Mount subdirectories listed by tag.""")
+ mount_mode.add_argument('--by-id', action='store_true',
+ help="""Mount subdirectories listed by portable data hash or uuid.""")
+ mount_mode.add_argument('--project', type=str, help="""Mount a specific project.""")
+ mount_mode.add_argument('--collection', type=str, help="""Mount only the specified collection.""")
+