Skip to content
GitLab
Explorer
Connexion
Navigation principale
Rechercher ou aller à…
Projet
lektor
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Compilation
Pipelines
Jobs
Planifications de pipeline
Artéfacts
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté GitLab
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
Kubat
lektor
Validations
08e2266b
Vérifiée
Valider
08e2266b
rédigé
12 mai 2020
par
Kubat
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
Update help and manpages
parent
a565dff1
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion
!87
Resolve "Segfault on exit"
Modifications
2
Afficher les modifications d'espaces
En ligne
Côte à côte
Affichage de
2 fichiers modifiés
doc/lektord.1
+8
-4
8 ajouts, 4 suppressions
doc/lektord.1
src/main/server.c
+2
-1
2 ajouts, 1 suppression
src/main/server.c
avec
10 ajouts
et
5 suppressions
doc/lektord.1
+
8
−
4
Voir le fichier @
08e2266b
...
@@ -25,11 +25,15 @@ commands from:
...
@@ -25,11 +25,15 @@ commands from:
.PD 0
.PD 0
.TP
.TP
.PD
.PD
\fB\-\-help\fP /
\fB\-h\fP
\fB\-h\fP
Prints the help message.
Prints the help message.
.TP
.TP
\fB\-\-version\fP / \fB\-v\fP
\fB\-f\fP <config-file>
Print the version of the lektor daemon.
Specify a config file manually.
.TP
\fB\-F\fP
Don't check if the database is not already opened by another instance.
Usefull in case of non-really-clean shutdown of lektord.
.PP
.PP
If the lektor daemon is launched without a configuration file, it will exit
If the lektor daemon is launched without a configuration file, it will exit
with the code \fB1\fP. To init the default configuration file (normally done
with the code \fB1\fP. To init the default configuration file (normally done
...
@@ -39,7 +43,7 @@ by meson during the install), you should just use:
...
@@ -39,7 +43,7 @@ by meson during the install), you should just use:
.nf
.nf
\fB
\fB
% mkdir ~/.config/lektor/
% mkdir ~/.config/lektor/
% lktadm
in
it
conf > ~/.config/lektor/lektor.ini
% lkt
admin conf
ig
> ~/.config/lektor/lektor.ini
% lektord
% lektord
.fi \fR
.fi \fR
.P
.P
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
src/main/server.c
+
2
−
1
Voir le fichier @
08e2266b
...
@@ -49,7 +49,7 @@ main(int argc, char *argv[])
...
@@ -49,7 +49,7 @@ main(int argc, char *argv[])
goto
normal_launch
;
goto
normal_launch
;
/* Check args */
/* Check args */
while
((
opt
=
getopt
(
argc
,
argv
,
"Ff:"
))
!=
-
1
)
{
while
((
opt
=
getopt
(
argc
,
argv
,
"
h
Ff:"
))
!=
-
1
)
{
switch
(
opt
)
{
switch
(
opt
)
{
case
'F'
:
case
'F'
:
check_exclusive
=
0
;
check_exclusive
=
0
;
...
@@ -57,6 +57,7 @@ main(int argc, char *argv[])
...
@@ -57,6 +57,7 @@ main(int argc, char *argv[])
case
'f'
:
case
'f'
:
strncpy
(
conf_file
,
optarg
,
PATH_MAX
);
strncpy
(
conf_file
,
optarg
,
PATH_MAX
);
break
;
break
;
case
'h'
:
default:
default:
help__
();
help__
();
exit
(
EXIT_SUCCESS
);
exit
(
EXIT_SUCCESS
);
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter