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

the -d flag should barf and warn users when commas are present. #257

Closed
jordansissel opened this Issue Sep 6, 2012 · 2 comments

Comments

Projects
None yet
1 participant
@jordansissel
Owner

jordansissel commented Sep 6, 2012

At least one user has been confused by trying to do '-d "foo, bar > 3"' and frankly fpm isn't that smart. The intent is that -d specify one dependency only, and that you use -d multiple times for multiple dependencies.

fpm should abort and notify the user of the likely corrective action.

@jordansissel

This comment has been minimized.

Owner

jordansissel commented Sep 7, 2012

% ruby bin/fpm -s dir -t deb -n fizzle -d "foo, bar, baz > 3"
Dependencies should not include commas. If you want to specify multiple dependencies, use the '-d' flag multiple times. Example: -d 'foo' -d 'bar' -d 'baz > 3' {"level":"warn"}
@jordansissel

This comment has been minimized.

Owner

jordansissel commented Sep 7, 2012

fixed in fpm 0.4.15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment