From: Andre Noll Date: Tue, 23 Oct 2007 01:35:39 +0000 (+0200) Subject: Rename afs_ls and afs_rm to ls and rm. X-Git-Tag: v0.3.0~257 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=05b41a869044de934df883b8d7689fc232200d58;ds=sidebyside Rename afs_ls and afs_rm to ls and rm. --- diff --git a/afs.cmd b/afs.cmd index 92f2e56a..efebdc8b 100644 --- a/afs.cmd +++ b/afs.cmd @@ -38,7 +38,7 @@ U: init [table_name ...] H: When invoked without arguments, this command creates all tables. Otherwise H: only the tables given by table_name... are created. --- -N: afs_ls +N: ls P: AFS_READ D: List audio files. U: ls [-l[s|l|v|m]] -p -a -r -s{p|s|l|n|f|c|i|y|b|d|a} [pattern...] @@ -158,7 +158,7 @@ U: rmatt pattern... H: Remove all attributes matching any given pattern. All information H: about this attribute in the audio file table is lost. --- -N: afs_rm +N: rm P: AFS_READ | AFS_WRITE D: Remove entries from the audio file table. U: rm [-v] [-f] [-p] pattern... diff --git a/aft.c b/aft.c index b0974554..ed9d2584 100644 --- a/aft.c +++ b/aft.c @@ -1232,7 +1232,7 @@ out: * full list: list everything, including afsi, afhi, atts as clear text * * */ -int com_afs_ls(int fd, int argc, char * const * const argv) +int com_ls(int fd, int argc, char * const * const argv) { int i, ret; unsigned flags = 0; @@ -2012,7 +2012,7 @@ static int com_rm_callback(const struct osl_object *query, } /* TODO options: -r (recursive) */ -int com_afs_rm(int fd, int argc, char * const * const argv) +int com_rm(int fd, int argc, char * const * const argv) { uint32_t flags = 0; struct osl_object query = {.data = &flags, .size = sizeof(flags)},