mirror of
https://github.com/roswell/roswell.git
synced 2026-09-10 07:16:17 -04:00
rename subcommand install to pull
This commit is contained in:
parent
01958c4781
commit
4a1235dd42
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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},
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
Loading…
Reference in a new issue