diff --git a/src/bin/shutdown.cpp b/src/bin/shutdown.cpp index fc90bede99..7b3467a91c 100644 --- a/src/bin/shutdown.cpp +++ b/src/bin/shutdown.cpp @@ -1,24 +1,12 @@ -// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -// -// Copyright (c) 2002-2005, Haiku -// -// This software is part of the Haiku distribution and is covered -// by the MIT license. -// -// File: shutdown.cpp -// Author: Francois Revol (mmu_man@users.sf.net) -// Description: shuts down the system, either halting or rebooting. -// -// Notes: -// This program behaves identically as the BeOS R5 version, with these -// added arguments: -// -// -a asks the user to confirm the shutdown -// -c cancels any running shutdown -// -// Some code from Shard's Archiver from BeBits (was BSD/MIT too :). -// -// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ +/* + * Copyright 2002-2005, Haiku. + * Distributed under the terms of the MIT License. + * + * Authors: + * Francois Revol (mmu_man@users.sf.net) + */ + +/*! Shuts down the system, either halting or rebooting. */ #include @@ -84,6 +72,7 @@ usage(const char *arg0) "\t-q quick shutdown (don't broadcast apps),\n" "\t-a ask user to confirm the shutdown (ignored when -q is given),\n" "\t-c cancel a running shutdown,\n" + "\t-s run shutdown synchronously (only returns if shutdown is cancelled)\n" "\t-d delay shutdown by