// Copyright (c) 2005-2007 Andre Merzky (andre@merzky.net) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include "shell.hpp" // print a short help: list available commands and their syntax void shell::c_help (std::string arg) { std::cout << " " << std::endl << " Available commands are: " << std::endl << " " << std::endl << " # pwd " << std::endl << " # cd " << std::endl << " # ls " << std::endl << " # cat " << std::endl << " # cp " << std::endl << " # mv " << std::endl << " # rm " << std::endl << " # ln " << std::endl << " # mkdir " << std::endl << " # rmdir " << std::endl << " " << std::endl << " # run " << std::endl << " # ps " << std::endl << " # suspend " << std::endl << " # resume " << std::endl << " # kill " << std::endl << " # status " << std::endl << " " << std::endl << " # set " << std::endl << " # help " << std::endl << " # quit " << std::endl << " " << std::endl; }