// Copyright (c) 2005-2008 Andre Merzky // // 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 "saga-shell.hpp" // print a short help: list available commands and their syntax int shell::c_help (std::vector & args, props & p) { std::cout << " " << std::endl << " Available commands are: " << std::endl << " " << std::endl << " # pwd " << std::endl << " # cd " << std::endl << " # touch " << std::endl << " # ls " << std::endl << " # cp " << std::endl << " # mv " << std::endl << " # rm " << std::endl << " # ln " << std::endl << " # mkdir " << std::endl << " # rmdir " << std::endl << " " << std::endl << " # cat " << std::endl << " " << std::endl << " # rep_find [ ...] " << std::endl << " # rep_list " << std::endl << " # rep_add " << std::endl << " # rep_remove " << std::endl << " # rep_update " << std::endl << " # rep_replicate " << 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 << " # add_proxy " << std::endl << " " << std::endl << " # help " << std::endl << " # exit/quit " << std::endl << " " << std::endl; return SUCCESS; }