rename subcommand install to pull

This commit is contained in:
SANO Masatoshi 2014-09-04 07:15:53 +09:00
parent 01958c4781
commit 4a1235dd42
6 changed files with 6 additions and 6 deletions

View file

@ -1,7 +1,7 @@
AUTOMAKE_OPTIONS = subdir-objects
bin_PROGRAMS = lsp
lsp_SOURCES = lsp.c opt.c download.c util.c archive.c cmd_version.c cmd_run.c \
install/cmd.c install/sbcl.c install/sbcl-bin.c \
pull/cmd.c pull/sbcl.c pull/sbcl-bin.c \
list/cmd.c \
html.c
include_HEADERS = opt.h util.h install/install.h
include_HEADERS = opt.h util.h pull/install.h

View file

@ -11,7 +11,7 @@ int argc_orig;
struct opts* global_opt;
struct opts* local_opt=NULL;
extern int cmd_install(int argc,char **argv);
extern int cmd_pull(int argc,char **argv);
extern int cmd_list(int argc,char **argv);
extern int cmd_download(int argc,char **argv);
extern int cmd_tar(int argc,char **argv);
@ -28,7 +28,7 @@ static struct sub_command commands[] = {
{ "help", cmd_notyet,0},
{ "list", cmd_list,1},
{ "version", cmd_version,0},
{ "install", cmd_install,1},
{ "pull", cmd_pull,1},
{ "run",cmd_run,1},
{ "config", cmd_opt,1},
{ "set", cmd_notyet,0},

View file

@ -2,7 +2,7 @@
#include <stdlib.h>
#include "opt.h"
#include "util.h"
#include "install/install.h"
#include "pull/install.h"
static int in_resume=0;
static char *flags =NULL;
struct install_impls *install_impl;
@ -165,7 +165,7 @@ install_cmds install_full[]={
NULL
};
int cmd_install(int argc,char **argv)
int cmd_pull(int argc,char **argv)
{
int ret=1,k;
install_cmds *cmds=NULL;