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

chore(flags): add indent-size default value to help flag #217

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

devenes
Copy link

@devenes devenes commented Nov 7, 2022

This Pull Request aims to make the --help flag easier to use by adding the default value of the --indent-size flag.

The default value of --indent-size is set to 4 in the code, it would be helpful to have it in the README file and the --help flag as well. See the code line: https://github.com/lovesegfault/beautysh/blob/master/beautysh/__init__.py#L367

        parser.add_argument(
            "--indent-size",
            "-i",
            nargs=1,
            type=int,
            default=4,
            help="Sets the number of spaces to be used in " "indentation. Default is 4.",

Signed-off-by: Enes [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant