diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2015-02-07 01:37:31 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2015-02-07 01:37:31 +0000 |
commit | 6b05e3b41e2fdd25c60be8c8156d579604b2c858 (patch) | |
tree | 8dbe41375189f39c36c72ef8d2c161a7a0f299e5 /games/hangman/hangman.6 | |
parent | 47fa25c9b18c2190e627822649ba77cacb73ec71 (diff) |
By popular demand, allow any ELF file to be passed to -d as a word list, in
which case its symbols will be used.
Which means that `hangman -k' is equivalent to `hangman -d /bsd' now.
ok beck@ tedu@
Diffstat (limited to 'games/hangman/hangman.6')
-rw-r--r-- | games/hangman/hangman.6 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/games/hangman/hangman.6 b/games/hangman/hangman.6 index 51e04330a3b..a59d9694212 100644 --- a/games/hangman/hangman.6 +++ b/games/hangman/hangman.6 @@ -1,4 +1,4 @@ -.\" $OpenBSD: hangman.6,v 1.16 2008/04/05 07:46:05 jmc Exp $ +.\" $OpenBSD: hangman.6,v 1.17 2015/02/07 01:37:30 miod Exp $ .\" .\" Copyright (c) 1983, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)hangman.6 8.1 (Berkeley) 5/31/93 .\" -.Dd $Mdocdate: April 5 2008 $ +.Dd $Mdocdate: February 7 2015 $ .Dt HANGMAN 6 .Os .Sh NAME @@ -53,7 +53,9 @@ The options are as follows: Use the specified .Ar wordlist instead of the default. -A wordlist file must have one word per line. +If the wordlist file is an ELF binary file, its symbols are used as the +word list. +Otherwise, the wordlist file must be a plain text file, with one word per line. Only lowercase words of at least a certain length .Pq typically 6 characters are chosen. |