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

emacs2nix --help is unclear #19

Open
DamienCassou opened this issue Apr 18, 2016 · 1 comment
Open

emacs2nix --help is unclear #19

DamienCassou opened this issue Apr 18, 2016 · 1 comment

Comments

@DamienCassou
Copy link

DamienCassou commented Apr 18, 2016

$ ./melpa-stable-packages.sh 
Preprocessing library emacs2nix-0.1.0.0...
In-place registering emacs2nix-0.1.0.0...
Preprocessing executable 'melpa2nix' for emacs2nix-0.1.0.0...
Running melpa2nix...
Missing: --melpa DIR (-o|--output FILE)

Usage: melpa2nix [-t|--threads N] --melpa DIR [--stable] --work DIR
                 (-o|--output FILE) [--index-only] [PACKAGE]
  Generate Nix expressions from MELPA recipes
  • what do all these options mean?
  • when I pass --stable, I get Invalid option --stable
  • same for --work
@ttuegel
Copy link
Collaborator

ttuegel commented Apr 18, 2016

You should be able to get the full help text by running cabal run melpa2nix -- --help. It looks like optparse-applicative only displays a short usage message when the wrong options are given, instead of showing the full help output.

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