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

hipo-utils command line arguments #222

Open
whit2333 opened this issue Mar 14, 2024 · 4 comments
Open

hipo-utils command line arguments #222

whit2333 opened this issue Mar 14, 2024 · 4 comments

Comments

@whit2333
Copy link

Missing help argument.

hipo-utils -h



    Usage : hipo4utils [commands] [options]


    commands:
             -info :  show the information about the file
            -merge :  Merge several files together
           -filter :  filter banks from the input files
             -hide : reduce constent of the file by applying expressions
            -stats :  prints statistics for the file
             -dump :  dump the content of the file on the screen
           -reduce : reduce constent of the file by applying expressions
         -generate :  generated command for many files
           -update : update dictionary in the file
            -split :  splits file into smaller chunks
             -test :  reads the file to check for file integrity

Choose wisely.....
*** ERROR *** : unknown command : -h

@baltzell
Copy link
Collaborator

The source for that isn't in coatjava. It's probably here: https://github.com/jeffersonlab/jnp

@whit2333
Copy link
Author

whit2333 commented Mar 19, 2024 via email

@c-dilks c-dilks reopened this Mar 20, 2024
@c-dilks
Copy link
Member

c-dilks commented Mar 20, 2024

@gavalian can you fix this in jnp? Also:

  • org.jlab.jnp.hipo4.utils.HipoUtilities should exit non-zero when it fails
  • error messages should stream to stderr, not stdout
  • hipo4utils in the usage guide should be the name of the wrapper script hipo-utils (if you don't want this in jnp, we can pipe through sed here in hipo-utils)

@whit2333
Copy link
Author

What is jnp?

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

3 participants