catchorg / Clara

A simple to use, composable, command line parser for C++ 11 and beyond
Boost Software License 1.0
650 stars 67 forks source link

Interpret a single dash or slash as positional argument #61

Open aivarsk opened 6 years ago

aivarsk commented 6 years ago

Interpret a single dash as a positional argument which is a common convention for STDIN on Unix.

Fixes issue #57

codecov[bot] commented 6 years ago

Codecov Report

Merging #61 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #61   +/-   ##
=======================================
  Coverage   94.62%   94.62%           
=======================================
  Files           2        2           
  Lines         688      688           
=======================================
  Hits          651      651           
  Misses         37       37
Impacted Files Coverage Δ
include/clara.hpp 93.17% <ø> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 47f772e...9314694. Read the comment docs.