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

"ERROR: unable to parse command" on repo create #1249

Open
joaopalet opened this issue Feb 15, 2024 · 1 comment
Open

"ERROR: unable to parse command" on repo create #1249

joaopalet opened this issue Feb 15, 2024 · 1 comment

Comments

@joaopalet
Copy link

When trying to create a repo using any option (flag), I always get an "ERROR: unable to parse command" error.

Detailed Description

When I try to run, e.g.

aptly repo create my-repo --distribution=stable

I always get "ERROR: unable to parse command".

This also happens whenever I try to pass any other option (flag).

Your Environment

  • I am on macOS Sonoma 14.3.1
  • Installed aptly through Homebrew (1.5.0)
@agimenez
Copy link

agimenez commented Mar 6, 2024

@joaopalet not sure if it's a typo, but you need to use single-dash options (very common in Go programs):

Can you try the following? aptly repo create my-repo -distribution=stable

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

No branches or pull requests

2 participants