Commit Graph

10 Commits

Author SHA1 Message Date
Lars Engels
1980d11b5f - Add two new subcommands to rc.subr:
"describe" shows an rc script's description
  "extracommands" shows an rc script's non-standard commands like "reload", "configtest", "keygen", etc
- Update the rc(8) manpage and the tcsh(1) completion examples to reflect these changes

Approved by:	bapt
Sponsored by:	Essen Linuxhotel Hackathon 2016
Differential Revision:	D452
2016-04-23 16:19:34 +00:00
Christian Brueffer
d14a50d95a Fix issues that kept some of the examples from actually working.
PR:		144534
Submitted by:	Nicolas Edel
MFC after:	1 week
2015-06-29 14:41:19 +00:00
Eitan Adler
dd9de3098a Add a bunch more example completions.
Submitted by:	wblock
Approved by:	cperciva (implicit)
MFC after:	3 days
2012-10-16 02:52:30 +00:00
Eitan Adler
4ea9694252 Include a warning when using the example code as it may not
work in unusual situations.
Also slightly optimize the command.

Submitted by:	Jeremy Chadwick jdc@koitsu.org
Approved by:	cperciva (implicit)
MFC after:	1 week
2012-06-13 06:46:00 +00:00
Eitan Adler
06c34e294a Rework sample code which sets SSH_AUTH_SOCK to the user's ssh-agent
socket path if running

PR:		167932
Submitted by:	madpilot (pr)
Submitted by:	wblock (final patch)
Reviewed by:	If someone else reviewed your modification.
Approved by:	cperciva (implicit)
MFC after:	3 days
2012-05-15 20:15:17 +00:00
Eitan Adler
dd4b1ae701 Sort completions
Add a new one for sysctl

Submitted by:	rm (the new completion)
Approved by:	cperciva (implicit)
MFC after:	3 days
2012-04-12 00:12:17 +00:00
Eitan Adler
1375476586 Fix typo (add a missing '%/' in sed)
Submitted by:	jmallett
Approved by:	cperciva (implicit)
MFC after:	3 days
2012-04-11 14:36:05 +00:00
Eitan Adler
cf61a32711 Update examples with corrections from the author
PR:		ports/160689
Submitted by:	mickael.maillot@gmail.com
Approved by:	cperciva (implicit)
MFC after:	1 days (with r233429)
2012-04-10 01:49:31 +00:00
Eitan Adler
66c1ef4a26 Add a few more examples
Submitted by:	jmallett
Approved by:	cperciva (implicit)
MFC after:	3 days
X-MFC-With:	r233429
2012-03-24 23:10:18 +00:00
Eitan Adler
1233083107 - Make the default values for tcsh more user friendly
- Add an examples file with many of the not accepted suggestions from the discussion

PR:		conf/160689
Reviewed by:	many
Discussed on:	current
Approved by:	cperciva
2012-03-24 18:43:18 +00:00