def addargs(parser):
    """ Parse command line arguments for s4cmb """
    parser.add_argument('-inifile', dest='inifile', required=True, help=
        'Configuration file with parameter values.')
    parser.add_argument('-tag', dest='tag', required=True, help=
        'Tag name to identify your run. E.g. run_0_crosstalk.')
    parser.add_argument('-inifile_xpure', dest='inifile_xpure', default=
        None, help='Configuration file with xpure parameter values.')
    parser.add_argument('-type_hwp', dest='type_hwp', default=None, help=
        'The type of HWP that you want to mount on your instrument.')
    parser.add_argument('-freq_hwp', dest='freq_hwp', default=None, type=
        float, help='The frequency of rotation of the HWP in Hz.')
    parser.add_argument('-angle_hwp', dest='angle_hwp', default=None, type=
        float, help='The offset of the HWP in degree.')
    parser.add_argument('-radius', dest='radius', default=1, type=int, help
        ='Controls the number of bolometers talking within a SQUID.')
    parser.add_argument('-mu', dest='mu', default=-0.3, type=float, help=
        'Mean of the Gaussian used to generate         the level of leakage, in percent.'
        )
    parser.add_argument('-sigma', dest='sigma', default=0.1, type=float,
        help=
        'Width of the Gaussian used to generate         the level of leakage, in percent.'
        )
    parser.add_argument('-beta', dest='beta', default=2, type=int, help=
        'Exponent controling the attenuation.')
    parser.add_argument('-seed', dest='seed', default=5438765, type=int,
        help='Control the random seed used to generate leakage coefficients.')
