From 4bdfe6e139f658f8a60334d35dceb03a534ce4ab Mon Sep 17 00:00:00 2001 From: Minto van der Sluis Date: Mon, 26 Nov 2007 12:52:25 +0100 Subject: [PATCH] Improved sde-import man page --- src/doc/man/sde-import.txt | 45 ++++++++++++++++++++++++++++++++++---- 1 file changed, 41 insertions(+), 4 deletions(-) diff --git a/src/doc/man/sde-import.txt b/src/doc/man/sde-import.txt index cbc6ff7..a13083b 100644 --- a/src/doc/man/sde-import.txt +++ b/src/doc/man/sde-import.txt @@ -4,16 +4,53 @@ The OpenSDE Community NAME ---- -sde-import - import stuff into the system +*sde import* - import stuff into the system SYNOPSIS -------- -'sde import' [OPTIONS] +*sde import* ['DISCRIMINATOR'] ['OPTIONS'] ['ITEM'] filename DESCRIPTION ----------- Imports the specified filename into the opensde environment under the name -specified by item. If no item name is specified the original, as it was -exported, item name will be used. The content of the specified file need to +specified by item. If no item name is specified the original name as stored +in the imported file will be used. The content of the specified file needs to match the kind of content specified by the discriminator. In case the content does not match the command will abort with an error message. + +DISCRIMINATORS +-------------- +*config, cfg*:: + Forces the imported file to be a config. +*package, pkg*:: + Forces the imported file to be a package. +*target, tgt*:: + Forces the imported file to be a target. + +When no discriminator specified the imported file will be processed without +checking against a discriminator. + +OPTIONS FOR ALL DISCRIMINATORS +------------------------------ +*-n, --dry-run*:: + Instead of really importing the file it is normally processed but + not imported. This can be used to see what would happen if the + file were imported. +*-f, --force*:: + Makes it possible to overwrite existing items with imported + information. + +AUTHOR +------ +Written by Minto van der Sluis (misl). + +REPORTING BUGS +-------------- +Report bugs to . + +COPYRIGHT +--------- +Copyright (C) 2007 The OpenSDE project. +This is free software; see the source for copying conditions. There is +NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE.