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_nosystematic.')
    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('-input_filename', dest='input_filename', required=
        True, nargs='+', help='Input fits with alms.')
    parser.add_argument('-array_noise_seed', dest='array_noise_seed',
        required=True, type=int, help='Seed to generate noise.')
    parser.add_argument('-sim_number', dest='sim_number', required=True,
        type=int, help='Number of the sim.')
    parser.add_argument('-folder_out', dest='folder_out', required=True,
        help='Name of the output folder.')
    parser.add_argument('-nside_in', dest='nside_in', required=True, type=
        int, help='Name of the output folder.')
    parser.add_argument('-fwhm_in', dest='fwhm_in', required=True, type=
        float, help='Name of the output folder.')
