Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
b75609fa
Kaydet (Commit)
b75609fa
authored
Şub 13, 2018
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
In comments: fix typo and normalize on "sub-command"
Change-Id: I57f7d98edef10cb64b106b326869a594cc2f8d42
üst
1c8f53ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
unopkg_app.cxx
desktop/source/pkgchk/unopkg/unopkg_app.cxx
+3
-3
No files found.
desktop/source/pkgchk/unopkg/unopkg_app.cxx
Dosyayı görüntüle @
b75609fa
...
@@ -229,20 +229,20 @@ extern "C" int unopkg_main()
...
@@ -229,20 +229,20 @@ extern "C" int unopkg_main()
dp_misc
::
writeConsole
(
"
\n
"
APP_NAME
" Version 3.3
\n
"
);
dp_misc
::
writeConsole
(
"
\n
"
APP_NAME
" Version 3.3
\n
"
);
return
0
;
return
0
;
}
}
//consume all bootstrap variables which may occur before the subcommand
//consume all bootstrap variables which may occur before the sub
-
command
while
(
isBootstrapVariable
(
&
nPos
))
while
(
isBootstrapVariable
(
&
nPos
))
;
;
if
(
nPos
>=
nCount
)
if
(
nPos
>=
nCount
)
return
0
;
return
0
;
//get the sub
command
//get the sub
-
command
osl_getCommandArg
(
nPos
,
&
subCommand
.
pData
);
osl_getCommandArg
(
nPos
,
&
subCommand
.
pData
);
++
nPos
;
++
nPos
;
subCommand
=
subCommand
.
trim
();
subCommand
=
subCommand
.
trim
();
bool
subcmd_add
=
subCommand
==
"add"
;
bool
subcmd_add
=
subCommand
==
"add"
;
subcmd_gui
=
subCommand
==
"gui"
;
subcmd_gui
=
subCommand
==
"gui"
;
// su
n
-command options and packages:
// su
b
-command options and packages:
while
(
nPos
<
nCount
)
while
(
nPos
<
nCount
)
{
{
if
(
readArgument
(
&
cmdArg
,
info_log
,
&
nPos
))
{
if
(
readArgument
(
&
cmdArg
,
info_log
,
&
nPos
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment