#-----------------------------------------------------------
# Copyright Christian Arnault LAL-Orsay CNRS
# arnault@lal.in2p3.fr
# See the complete license in cmt_license.txt "http://www.cecill.info". 
#-----------------------------------------------------------

complete cmt p/1/'(broadcast build check check_files checkout co cleanup config create expand filter help lock remove run setup show system unlock version cvstags cvsbranches cvssubpackages cvssubprojects)'/ \
 n/build/'(CMT_pacman constituent_makefile constituents_makefile dependencies library_links make_setup msdev os9_makefile prototype readme tag_makefile temporary_name triggers win_makefile)'/ \
 n/show/'(action action_names action_value actions all_tags applied_patterns author branches clients cmtpath_patterns constituent constituent_names constituents cycles fragment fragments groups include_dirs language languages macro macro_names macro_value macros manager packages path pattern patterns projects pwd set set_names set_value sets strategies tags use_paths uses versions)'/ \
 n/check/'(configuration files version)'/ \
 n/expand/'(model)'/ \
 n/constituent/'`cmt -quiet show constituent_names`'/ \
 n/fragment/'`cmt -quiet show fragments | sed -e "s#.*fragments.##" `'/ \
 n/action/'`cmt -quiet show action_names | sed -e "s#=.*##" `'/ \
 n/action_value/'`cmt -quiet show action_names | sed -e "s#=.*##" `'/ \
 n/build/'(CMT_pacman constituent_makefile constituents_makefile dependencies library_links make_setup msdev os9_makefile prototype readme tag_makefile temporary_name triggers win_makefile)'/ \
 n/broadcast/'(-begin= -select= -exclude= -local -global -depth=)'/ \
 n/macro/'`cmt -quiet show macro_names | sed -e "s#=.*##" `'/ \
 n/macro_value/'`cmt -quiet show macro_names | sed -e "s#=.*##" `'/ \
 n/pattern/'`cmt -quiet show pattern_names`'/ \
 n/set/'`cmt -quiet show set_names | sed -e "s#=.*##" `'/ \
 n/set_value/'`cmt -quiet show set_names | sed -e "s#=.*##" `'/ \
 n/triggers/'`cmt -quiet show constituent_names`'/ \
 n/co/'(-l,-R,-r,-d,-o,-requirements)'/ \
 n/checkout/'(-l,-R,-r,-d,-o,-requirements)'/


