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

initlatex: current_dir flag still requires directory argument #2

Closed
maxschalz opened this issue Aug 11, 2021 · 0 comments · Fixed by #3
Closed

initlatex: current_dir flag still requires directory argument #2

maxschalz opened this issue Aug 11, 2021 · 0 comments · Fixed by #3

Comments

@maxschalz
Copy link
Owner

If using initlatex with the --current_dir flag, it should be obsolete to enter a directory name. This is not the case at the moment and to fix it, one should combine/restructure the following lines (probably):

dirname = ("Name of the directory in which the LaTeX files will be"
+ " generated into.")
parser.add_argument("dirname", metavar="directory name", type=str,
help=dirname)
current_dir = ("If this flag is set, the files are generated into "
"the current working directory.")
parser.add_argument("--current_dir", action="store_true",
help=current_dir)

Issue pointed out by @jung-benjamin.

@maxschalz maxschalz linked a pull request Aug 17, 2021 that will close this issue
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 a pull request may close this issue.

1 participant