1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/sbin/sysctl
Dag-Erling Smørgrav ca5fac557f Add a -N option that makes sysctl(8) print out just the variable names.
Zsh users can add the following to their .zshrc for sysctl completion:

function listsysctls {
    case $1 in
    *.*) set -A reply $(sysctl -AN ${1%.*}) ;;
    *) set -A reply $(sysctl -AN) ;;
    esac
}
compctl -K listsysctls sysctl

While I'm here, brucify the getopt() switch.
2001-01-14 16:40:06 +00:00
..
Makefile $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
pathconf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
sysctl.8 Prepare for mdoc(7)NG. 2000-12-19 15:36:48 +00:00
sysctl.c Add a -N option that makes sysctl(8) print out just the variable names. 2001-01-14 16:40:06 +00:00