From f9ea588525a51c959a6bf9dffadababfcda965d4 Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Mon, 3 Jan 2022 23:53:51 +0100 Subject: [PATCH] Update the man page to reflect the search order for avrdude.conf --- src/avrdude.1 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/avrdude.1 b/src/avrdude.1 index 86c83970..9805ac75 100644 --- a/src/avrdude.1 +++ b/src/avrdude.1 @@ -1147,8 +1147,16 @@ line. .It Pa /dev/ppi0 default device to be used for communication with the programming hardware -.It Pa ${PREFIX}/etc/avrdude.conf +.It Pa avrdude.conf programmer and parts configuration file +.Pp +On Windows systems, this file is looked up in the same directory as the +executable file. +On all other systems, the file is first looked up in +.Pa ../etc/ , +relative to the path of the executable, then in the same directory as +the executable itself, and finally in the system default location +.Pa ${PREFIX}/etc/avrdude.conf . .It Pa ${HOME}/.avrduderc programmer and parts configuration file (per-user overrides) .It Pa ~/.inputrc