openPMD/openPMD-api

openpmd-pipe -v|--version

Open

#1,082 opened on Aug 6, 2021

 (0 comments) (0 reactions) (0 assignees)C++ (57 forks)auto 404
feature requestgood first issuetools

Repository metrics

Stars
 (160 stars)
PR merge metrics
 (PR metrics pending)

Description

The new openpmd-pipe tool needs a -v|--version argument control, so one can check which version will be used as a user.

Example:

$ openpmd-ls --version
openpmd-ls (openPMD-api) 0.14.1
Copyright 2017-2021 openPMD contributors
Authors: Axel Huebl et al.
License: LGPLv3+
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

$ openpmd-pipe --version
usage: openpmd-pipe [-h] [--infile INFILE] [--outfile OUTFILE] [--inconfig INCONFIG]
                    [--outconfig OUTCONFIG]
openpmd-pipe: error: unrecognized arguments: --version

Contributor guide