1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
13 #include "propmerge.hxx"
15 SAL_IMPLEMENT_MAIN_WITH_ARGS(argc
, argv
)
17 common::HandledArgs aArgs
;
18 if( !common::handleArguments(argc
, argv
, aArgs
) )
20 common::writeUsage("propex","*.properties");
25 aArgs
.m_sInputFile
, aArgs
.m_sLanguage
, aArgs
.m_bMergeMode
);
26 if( !aParser
.isInitialized() )
30 if( aArgs
.m_bMergeMode
)
32 aParser
.Merge( aArgs
.m_sMergeSrc
, aArgs
.m_sOutputFile
);
36 aParser
.Extract( aArgs
.m_sOutputFile
);
41 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */