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

Move Output Option to Earlier in Export Command for Windows #119

Merged
merged 1 commit into from
Aug 8, 2019
Merged

Move Output Option to Earlier in Export Command for Windows #119

merged 1 commit into from
Aug 8, 2019

Conversation

dbradley771
Copy link
Contributor

@dbradley771 dbradley771 commented Aug 7, 2019

When exporting keys, using -o at the end will only output to the console and not the file. Using --output instead of -o says gpg: Note: '--output' is not considered an option. Moving -o/--output to before --export command seems to solve this problem.

Example

Tested with:
gpg (GnuPG) 2.2.11 and 2.2.17
PowerShell 5.1.18362.145
Windows 10 1903 18362.267

Possibly related to #67

The output option dosen't seem to work on Windows when it is at the end of the command. Moving it to earlier in the command fixes this issue.
@drduh drduh merged commit dd1d766 into drduh:master Aug 8, 2019
@dbradley771 dbradley771 deleted the patch-1 branch August 30, 2019 00:31
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.

2 participants