freebsd-dev/sbin/nvmecontrol
Warner Losh f634b4c1be Create generic command / arg parsing routines
Create a set of routines and structures to hold the data for the args
for a command. Use them to generate help and to parse args. Convert
all the current commands over to the new format. "comnd" is a hat-tip
to the TOPS-20 %COMND JSYS that (very) loosely inspired much of the
subsequent command line notions in the industry, but this is far
simpler (the %COMND man page is longer than this code) and not in the
kernel... Also, it implements today's de-facto
	command [verb]+ [opts]* [args]*
format rather than the old, archaic TOPS-20 command format :)

This is a snapshot of a work in progress to get the nvme passthru
stuff committed. In time it will become a private library and used
by some other programs in the tree that conform to the above pattern.

Differential Revision: https://reviews.freebsd.org/D19296
2019-07-16 17:24:03 +00:00
..
modules Create generic command / arg parsing routines 2019-07-16 17:24:03 +00:00
comnd.c Create generic command / arg parsing routines 2019-07-16 17:24:03 +00:00
comnd.h Create generic command / arg parsing routines 2019-07-16 17:24:03 +00:00
devlist.c Create generic command / arg parsing routines 2019-07-16 17:24:03 +00:00
firmware.c Create generic command / arg parsing routines 2019-07-16 17:24:03 +00:00
format.c Create generic command / arg parsing routines 2019-07-16 17:24:03 +00:00
identify_ext.c Make it possible to use print_controller from another program 2018-06-13 22:00:02 +00:00
identify.c Create generic command / arg parsing routines 2019-07-16 17:24:03 +00:00
logpage.c Create generic command / arg parsing routines 2019-07-16 17:24:03 +00:00
Makefile Create generic command / arg parsing routines 2019-07-16 17:24:03 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
nc_util.c Add SPDX tag. 2019-02-28 02:29:48 +00:00
ns.c Create generic command / arg parsing routines 2019-07-16 17:24:03 +00:00
nvmecontrol_ext.h Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
nvmecontrol.8 Better formatting for the logpage section 2019-05-17 18:15:47 +00:00
nvmecontrol.c Create generic command / arg parsing routines 2019-07-16 17:24:03 +00:00
nvmecontrol.h Create generic command / arg parsing routines 2019-07-16 17:24:03 +00:00
perftest.c Create generic command / arg parsing routines 2019-07-16 17:24:03 +00:00
power.c Create generic command / arg parsing routines 2019-07-16 17:24:03 +00:00
reset.c Create generic command / arg parsing routines 2019-07-16 17:24:03 +00:00