Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update reame and remove directories help message #286

Merged
merged 1 commit into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Quick Reference
-b, --base-url TEXT Base URL where Thumbtack is hosted on the server [default: /]
--path-contains TEXT Only select files containing specified string in the path
-s, --skip-subdirectory TEXT Subdirectory to ignore when monitoring files
-r, --remove-directories Remove empty directories in the mount directory on startup.
-r, --remove-directories Unmount all mountpoints and remove all empty directories in the thumbtack mount directory
--help Show this message and exit.

LICENSE
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ See them below.
-b, --base-url TEXT Base URL where Thumbtack is hosted on the server [default: /]
--path-contains TEXT Only select files containing specified string in the path
-s, --skip-subdirectory TEXT Subdirectory to ignore when monitoring files
-r, --remove-directories Remove empty directories in the mount directory on startup.
-r, --remove-directories Unmount all mountpoints and remove all empty directories in the thumbtack mount directory
--help Show this message and exit.

Development Environment
Expand Down
2 changes: 1 addition & 1 deletion src/thumbtack/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def configure_logging(app):
"--remove-directories",
default=False,
is_flag=True,
help="Remove empty directories in the mount directory on startup.",
help="Unmount all mountpoints and remove all empty directories in the thumbtack mount directory",
)
def start_app(debug, host, port, mount_dir, image_dir, database, base_url, path_contains, skip_subdirectory, remove_directories):
app = create_app(
Expand Down
Loading