aptly-dev / aptly

aptly - Debian repository management tool
https://www.aptly.info/
MIT License
2.56k stars 374 forks source link

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

Closed joaopalet closed 3 months ago

joaopalet commented 7 months ago

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

agimenez commented 7 months ago

@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