X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afs.cmd;h=584ba809235c825cb9e1a3afdadd0644eea4d2c5;hp=fb496aa5a33a383cce141359e49f0a965b117da1;hb=a13a1e0d202a8969374b9a70562556e689597f2d;hpb=fdb03951ee708a42795d4abb36d3a8637c478975 diff --git a/afs.cmd b/afs.cmd index fb496aa5..584ba809 100644 --- a/afs.cmd +++ b/afs.cmd @@ -120,9 +120,9 @@ H: Rename attribute old to new. N: check P: AFS_READ D: Run integrity checks against osl tables. -U: check [-a] [-m] [-p] -H: Check the audio file table, the mood definitions and all -H: defined playlists and report any inconsistencies found. +U: check [-a] [-A] [-m] [-p] +H: Check the audio file table, the attribute table, the mood definitions +H: and all defined playlists. Report any inconsistencies. H: H: Options: H: @@ -131,12 +131,17 @@ H: table which are not present in the file system. Moreover, it checks H: whether the lyrics id and all entries in the audio file table are H: valid. H: +H: -A Check the attribute table against the afs attribute bitmask of +H: each audio file in the audio file table. Reports audio files +H: whose attribute bitmask is invalid, i.e., has a bit set which +H: does not correspond to any attribute of the attribute table. +H: H: -m Run syntax checks on all defined moods in the mood table. H: H: -p Check all playlists for lines that correspond to files not contained H: in the audio file table. H: -H: If called without arguments, all three checks are run. +H: If called without arguments, all checks are run. --- N: rmatt P: AFS_READ | AFS_WRITE @@ -287,6 +292,7 @@ N: mv@member@ O: int com_mv@member@(struct command_context *cc); P: AFS_READ | AFS_WRITE D: Rename a blob of type @member@. -U: mv@member@ old_@member@_name new_@member@_name -H: Rename the blob identified by old_@member@_name to new_@member@_name. -H: This command fails if new_@member@_name already exists. +U: mv@member@ source_@member@_name dest_@member@_name +H: Rename the blob identified by the source blob name to the destination blob +H: name. The command fails if the source does not exist, or if the destination +H: already exists.