This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFP]: shutdown


Hallo Corinna,

2001-11-22 12:38:45, du schriebst:

> I would like to contribute my tiny `shutdown' tool to the Cygwin net
> distro.

Ok.

> shutdown --help output is:

>   Usage: shutdown [OPTION]... secs|"now"
>   Bring the system down.

>     -f, --force      Forces the execution.
>     -s, --shutdown   The system will shutdown and power off (if supported)
>     -r, --reboot     The system will reboot.
>     -h, --hibernate  The system will suspend to disk (if supported)
>     -p, --suspend    The system will suspend to RAM (if supported)
>         --help       Display this help and exit.
>         --version    Output version information and exit.

>   To reboot is the default if started as `reboot', to hibernate if started
>   as `hibernate', to suspend if started as `suspend', to shutdown otherwise.

$ shutdown --reboot
shutdown: option requires an argument -- reboot
Try `shutdown --help' for more information.

$ shutdown --reboot 2
shutdown: missing arguments
Try `shutdown --help' for more information.

$ shutdown --reboot now
shutdown: missing arguments
Try `shutdown --help' for more information.

$ shutdown --reboot "now"
shutdown: missing arguments
Try `shutdown --help' for more information.

$ shutdown --reboot 'now'
shutdown: missing arguments
Try `shutdown --help' for more information.

No README.
No manpage.

Gerrit
-- 
convey Information Systems GmbH                   http://www.convey.de/
                                                  Vitalisstraße 326-328
Gerrit P. Haase                                   D-50933 Köln
gerrit.haase@convey.de                            Fon: ++49 221 6903922

Attachment: Makefile
Description: Binary data

Attachment: suspend.1
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]